changeset 126 | cb06e3e29ed8 |
parent 119 | f74e4f88b680 |
child 136 | c795dd75a77e |
--- a/inc/auth.inc.php Thu Apr 03 18:57:11 2008 +0000 +++ b/inc/auth.inc.php Thu Apr 03 21:48:36 2008 +0000 @@ -53,7 +53,7 @@ $rowObj = $result->fetchRow(); $_SESSION["userid"] = $rowObj["id"]; $_SESSION["name"] = $rowObj["fullname"]; - if($_POST["authenticate"]) + if(isset($_POST["authenticate"])) { //If a user has just authenticated, redirect him to index with timestamp, so post-data gets lost. session_write_close();