aboutsummaryrefslogtreecommitdiff
path: root/search.inc.php
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-09-17 11:59:29 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-09-17 11:59:29 +0000
commit362ebe90ea15aa8b040496ba5c7368a974dc5633 (patch)
tree52f670b02f9389eca89549c8bdfe4f45c1d7a5c0 /search.inc.php
parent231ca3550889b16ab851b8b0710416c0473d6ed9 (diff)
downloadsemanticscuttle-362ebe90ea15aa8b040496ba5c7368a974dc5633.tar.gz
semanticscuttle-362ebe90ea15aa8b040496ba5c7368a974dc5633.tar.bz2
fix bug #2834118: Undefined variable in search.inc.php when not logged on
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@344 b3834d28-1941-0410-a4f8-b48e95affb8f
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();