Commit b7de4b46 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixed an error in session::global_delete

Showing with 1 addition and 1 deletion
+1 -1
...@@ -175,7 +175,7 @@ class session { ...@@ -175,7 +175,7 @@ class session {
*/ */
public static function global_delete($name) public static function global_delete($name)
{ {
if ($_SESSION[$name]) { if (isset($_SESSION[$name])) {
unset($_SESSION[$name]); unset($_SESSION[$name]);
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment