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