X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/c20b44263a89d8bf1a78bfa632daaae3cb4f1da2..7e8b3ec9903f52ae787c67f27761ed3a7baf6d11:/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)) { ?>