From: Paul L. <pdo...@us...> - 2006-11-04 04:11:46
|
Update of /cvsroot/squirrelmail/squirrelmail/src In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv16502/src Modified Files: signout.php Log Message: Play it a little safer when reassigning login uri Index: signout.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/src/signout.php,v retrieving revision 1.99 retrieving revision 1.100 diff -u -w -r1.99 -r1.100 --- signout.php 4 Nov 2006 03:55:54 -0000 1.99 +++ signout.php 4 Nov 2006 04:11:42 -0000 1.100 @@ -38,7 +38,7 @@ $login_uri = 'login.php'; $hook_results = do_hook('logout', $login_uri); -$login_uri = $hook_results[1]; +if (!empty($hook_results[1])) $login_uri = $hook_results[1]; sqsession_destroy(); |