aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--search.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/search.inc.php b/search.inc.php
index 523e2d5..ce57aea 100644
--- a/search.inc.php
+++ b/search.inc.php
@@ -13,6 +13,7 @@ $selected = ' selected="selected"';
<table>
<tr>
<?php
+ $currentUser = $currentUsername = null;
if ($userservice->isLoggedOn()) {
$currentUser = $userservice->getCurrentObjectUser();
$currentUsername = $currentUser->getUsername();