X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/c20b44263a89d8bf1a78bfa632daaae3cb4f1da2..0d9eb4c5f0536ae90134f2a436da71f005cec355:/search.inc.php?ds=sidebyside diff --git a/search.inc.php b/search.inc.php index 1c2cbc3..9feaf5c 100644 --- a/search.inc.php +++ b/search.inc.php @@ -2,23 +2,21 @@ isLoggedOn()) { - $currentUser = $userservice->getCurrentUser(); - $currentUsername = $currentUser[$userservice->getFieldName('username')]; - $logged_on = true; + $currentUser = $userservice->getCurrentUser(); + $currentUsername = $currentUser[$userservice->getFieldName('username')]; + $logged_on = TRUE; } if ($logged_on || isset($user)) { ?>