fix bugs to url generation (ignore opt)

git-svn-id: http://www.observium.org/svn/observer/trunk@2574 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-09-26 13:33:19 +00:00
parent e394048ee4
commit ef168cd96b
2 changed files with 2 additions and 2 deletions

View File

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