Skip to content

Commit 2af49c3

Browse files
committed
fix uasort() error when php is Disabled
1 parent 3e199e6 commit 2af49c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

interface/web/sites/ajax_get_json.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
$sql_where .= ")";
9393
}
9494

95+
$php_records = array();
9596
if($php_type == 'php-fpm' || ($php_type == 'hhvm' && $server_type == 'nginx')){
9697
$php_records = $app->db->queryAllRecords("SELECT * FROM server_php WHERE php_fpm_init_script != '' AND php_fpm_ini_dir != '' AND php_fpm_pool_dir != '' AND server_id = ? AND active = 'y'".$sql_where, $server_id);
9798
} elseif($php_type == 'fast-cgi'){

0 commit comments

Comments
 (0)