diff options
author | jim-p <jimp@pfsense.org> | 2013-12-26 10:51:18 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-12-26 10:51:18 -0500 |
commit | 57671f81d4726cbaf1dd3c75cf0ae2a8a536c41c (patch) | |
tree | a63c65ad4f82a694893512220a48046d9b3d27f3 /usr/local | |
parent | fd34b8b5c636c069d72da2396735033c9d924f34 (diff) | |
download | pfsense-57671f81d4726cbaf1dd3c75cf0ae2a8a536c41c.zip pfsense-57671f81d4726cbaf1dd3c75cf0ae2a8a536c41c.tar.gz |
Fix syntax, unbreak dashboard
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/includes/functions.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/includes/functions.inc.php b/usr/local/www/includes/functions.inc.php index 0c66f4a..7ad0ed9 100644 --- a/usr/local/www/includes/functions.inc.php +++ b/usr/local/www/includes/functions.inc.php @@ -145,7 +145,7 @@ function get_pfstate($percent=false) { if (preg_match("/([0-9]+)/", $curentries, $matches)) { $curentries = $matches[1]; } - if (!is_number($curentries)) + if (!is_numeric($curentries)) $curentries = 0; if ($percent) if (intval($maxstates) > 0) |