diff --git a/html/includes/functions.inc.php b/html/includes/functions.inc.php index 688c4584c5..29fd63b6e5 100644 --- a/html/includes/functions.inc.php +++ b/html/includes/functions.inc.php @@ -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."/"; } diff --git a/html/includes/print-menubar.php b/html/includes/print-menubar.php index 472757eefc..2bac3c2df8 100644 --- a/html/includes/print-menubar.php +++ b/html/includes/print-menubar.php @@ -248,7 +248,7 @@ if ($ports['errored']) if ($ports['ignored']) { - echo('