aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSebastien SAUVAGE <sebsauvage@sebsauvage.net>2013-03-01 16:57:34 +0100
committerSebastien SAUVAGE <sebsauvage@sebsauvage.net>2013-03-01 16:57:34 +0100
commit925f6108ba35ac539457cac282e3159e3fbf6eb2 (patch)
tree0bcbdbde231936cdecf79972fea657cd54949fd2
parent3e0ef647a370f98aa638a7163730d4a7ffdfed5c (diff)
downloadShaarli-925f6108ba35ac539457cac282e3159e3fbf6eb2.tar.gz
Shaarli-925f6108ba35ac539457cac282e3159e3fbf6eb2.tar.zst
Shaarli-925f6108ba35ac539457cac282e3159e3fbf6eb2.zip
Corrected: "Nothing found" when logging out when only private links were displayed.
This closes the issues https://github.com/sebsauvage/Shaarli/issues/25
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index afe2d039..3c163154 100644
--- a/index.php
+++ b/index.php
@@ -320,7 +320,7 @@ function isLoggedIn()
320} 320}
321 321
322// Force logout. 322// Force logout.
323function logout() { if (isset($_SESSION)) { unset($_SESSION['uid']); unset($_SESSION['ip']); unset($_SESSION['username']);} } 323function logout() { if (isset($_SESSION)) { unset($_SESSION['uid']); unset($_SESSION['ip']); unset($_SESSION['username']); unset($_SESSION['privateonly']); } }
324 324
325 325
326// ------------------------------------------------------------------------------------------ 326// ------------------------------------------------------------------------------------------