summaryrefslogtreecommitdiff
path: root/search.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'search.inc.php')
-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();