diff --git a/html/includes/vars.inc.php b/html/includes/vars.inc.php
index 369a13a74a..bca2c2577c 100644
--- a/html/includes/vars.inc.php
+++ b/html/includes/vars.inc.php
@@ -28,7 +28,7 @@ foreach ($segments as $pos => $segment) {
else {
list($name, $value) = explode('=', $segment);
if ($value == '' || !isset($value)) {
- $vars[$name] = yes;
+ $vars[$name] = 'yes';
}
else {
$vars[$name] = $value;