Update base.php

This commit is contained in:
Namhyeon Go 2019-02-26 11:31:08 +09:00 committed by GitHub
parent 94f8884083
commit dedebe5ecb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,13 +13,13 @@ if(!function_exists("check_invalid_function")) {
if(is_array($fn)) { if(is_array($fn)) {
foreach($fn as $k=>$v) { foreach($fn as $k=>$v) {
if(!check_valid_function($v)) { if(!function_exists($v)) {
$status = $k; $status = $k;
break; break;
} }
} }
} else { } else {
if(!check_valid_function($fn)) { if(!function_exists($fn)) {
$status = 0; $status = 0;
} }
} }