浏览代码

Update functions.php

FusionPBX 6 年之前
父节点
当前提交
86028f3218
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      resources/functions.php

+ 1 - 1
resources/functions.php

@@ -1629,7 +1629,7 @@ function number_pad($number,$n) {
 			if (defined('STDIN')) {
 				return true;
 			}
-			if (php_sapi_name() == 'cli' && !isset($_SERVER['HTTP_USER_AGENT']) && is_numeric($_SERVER['argc']) {
+			if (php_sapi_name() == 'cli' && !isset($_SERVER['HTTP_USER_AGENT']) && is_numeric($_SERVER['argc'])) {
 				return true;
 			}
 			return false;