diff options
author | Sebastien SAUVAGE <sebsauvage@sebsauvage.net> | 2013-03-01 16:57:34 +0100 |
---|---|---|
committer | Sebastien SAUVAGE <sebsauvage@sebsauvage.net> | 2013-03-01 16:57:34 +0100 |
commit | 925f6108ba35ac539457cac282e3159e3fbf6eb2 (patch) | |
tree | 0bcbdbde231936cdecf79972fea657cd54949fd2 /index.php | |
parent | 3e0ef647a370f98aa638a7163730d4a7ffdfed5c (diff) | |
download | Shaarli-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
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -320,7 +320,7 @@ function isLoggedIn() | |||
320 | } | 320 | } |
321 | 321 | ||
322 | // Force logout. | 322 | // Force logout. |
323 | function logout() { if (isset($_SESSION)) { unset($_SESSION['uid']); unset($_SESSION['ip']); unset($_SESSION['username']);} } | 323 | function logout() { if (isset($_SESSION)) { unset($_SESSION['uid']); unset($_SESSION['ip']); unset($_SESSION['username']); unset($_SESSION['privateonly']); } } |
324 | 324 | ||
325 | 325 | ||
326 | // ------------------------------------------------------------------------------------------ | 326 | // ------------------------------------------------------------------------------------------ |