diff --git a/system/storage.php b/system/storage.php index 7ef3477..491bb59 100644 --- a/system/storage.php +++ b/system/storage.php @@ -316,7 +316,7 @@ if(!function_exists("get_file_extension")) { } if(!function_exists("check_file_extension")) { - function check_file_extension($file, $extension, $options) { + function check_file_extension($file, $extension, $options=array()) { return (get_file_extension($file, $options) === $extension); } }