git-svn-id: http://www.observium.org/svn/observer/trunk@2762 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-12-06 23:02:31 +00:00
parent ce116fe0a2
commit 38f95ce512
4 changed files with 13 additions and 17 deletions

View File

@@ -15,7 +15,7 @@ function generate_url($vars, $new_vars = array())
foreach ($vars as $var => $value)
{
if ($value == "0" || $value != "" && strstr($var, "opt") === FALSE)
if ($value == "0" || $value != "" && strstr($var, "opt") === FALSE && is_numeric($var) === FALSE)
{
$url .= $var ."=".$value."/";
}