summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/func.inc.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-07-02 11:59:49 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-07-02 11:59:49 +0000
commit8dffbd722749472d9704f6d5d5547f83f738198c (patch)
treedaa3d0f4378832810847317824eb6b42a7e1e047 /frontends/php/include/func.inc.php
parent9158473c0884eabb4877274af46d3991cb6ed854 (diff)
downloadzabbix-8dffbd722749472d9704f6d5d5547f83f738198c.tar.gz
zabbix-8dffbd722749472d9704f6d5d5547f83f738198c.tar.xz
zabbix-8dffbd722749472d9704f6d5d5547f83f738198c.zip
- [DEV-144] add possibility to force user groups to authenticate internally (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5810 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/func.inc.php')
-rw-r--r--frontends/php/include/func.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontends/php/include/func.inc.php b/frontends/php/include/func.inc.php
index 180b6e37..2e67e260 100644
--- a/frontends/php/include/func.inc.php
+++ b/frontends/php/include/func.inc.php
@@ -225,6 +225,7 @@ function zbx_rksort(&$array, $flags=NULL){
/************* ZBX MISC *************/
function zbx_numeric($value){
if(is_array($value)) return false;
+ if(zbx_empty($value)) return false;
$value = strval($value);
return ctype_digit($value);