Permalink
Browse files

Changed unset($USER) to $USER=NULL ... as unset can cause problems wi…

…th PHP 4.1
  • Loading branch information...
1 parent 873f209 commit 566bb7086eeb9e7646cc63fd3923307bcba39fee martin committed Jan 24, 2002
Showing with 1 addition and 1 deletion.
  1. +1 −1 login/logout.php
View
@@ -4,7 +4,7 @@
require("../config.php");
add_to_log("Logged out");
- unset($USER);
+ $USER = NULL;
redirect($HTTP_REFERER);
exit;

0 comments on commit 566bb70

Please sign in to comment.