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

Fixed an error in session::global_delete

parent f64e184c
......@@ -175,7 +175,7 @@ class session {
*/
public static function global_delete($name)
{
if ($_SESSION[$name]) {
if (isset($_SESSION[$name])) {
unset($_SESSION[$name]);
}
}
......
Markdown is supported
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