From 63484cbd71fbcc3db9755f8295ec6bb66466cd94 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 22 Aug 2019 11:08:29 -0600 Subject: [PATCH] Update functions.php --- resources/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/functions.php b/resources/functions.php index 95cb10b15a..8e31679d70 100644 --- a/resources/functions.php +++ b/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;