Author: dgoette Date: Wed Apr 15 15:57:10 2009 New Revision: 370
URL: http://svn.reactos.org/svn/reactos?rev=370&view=rev Log: * fix old table name and old attribute * fix typo in another attribute
Modified: branches/danny-web/reactos.org/htdocs/roscms/lib/subsystem/Subsystem_Bugzilla.class.php branches/danny-web/reactos.org/htdocs/roscms/lib/view/HTML_User_Login.class.php
Modified: branches/danny-web/reactos.org/htdocs/roscms/lib/subsystem/Subsystem_Bugzilla.class.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/ros... ============================================================================== --- branches/danny-web/reactos.org/htdocs/roscms/lib/subsystem/Subsystem_Bugzilla.class.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/roscms/lib/subsystem/Subsystem_Bugzilla.class.php [iso-8859-1] Wed Apr 15 15:57:10 2009 @@ -186,7 +186,7 @@ }
// Finally, insert a row in the mapping table - $stmt=&DBConnection::getInstance()->prepare("INSERT INTO ".ROSCMST_SUBSYS." (user_id, subsys, subsy_user_id) VALUES(:user_id, 'bugzilla', LAST_INSERT_ID())"); + $stmt=&DBConnection::getInstance()->prepare("INSERT INTO ".ROSCMST_SUBSYS." (user_id, subsys, subsys_user_id) VALUES(:user_id, 'bugzilla', LAST_INSERT_ID())"); $stmt->bindParam('user_id',$user_id,PDO::PARAM_INT); return $stmt->execute(); } // end of member function addUser
Modified: branches/danny-web/reactos.org/htdocs/roscms/lib/view/HTML_User_Login.class.php URL: http://svn.reactos.org/svn/reactos/branches/danny-web/reactos.org/htdocs/ros... ============================================================================== --- branches/danny-web/reactos.org/htdocs/roscms/lib/view/HTML_User_Login.class.php [iso-8859-1] (original) +++ branches/danny-web/reactos.org/htdocs/roscms/lib/view/HTML_User_Login.class.php [iso-8859-1] Wed Apr 15 15:57:10 2009 @@ -153,7 +153,7 @@
// At this point, we've passed all checks and we have a valid login check if there's an existing session, if so, end that session if (0 != Login::in( Login::OPTIONAL, '')) { - $stmt=&DBConnection::getInstance()->prepare("DELETE FROM user_sessions WHERE usersession_user_id =:user_id"); + $stmt=&DBConnection::getInstance()->prepare("DELETE FROM ".ROSCMST_SESSIONS." WHERE user_id =:user_id"); $stmt->bindParam('user_id',$_COOKIE[$config->cookieUserKey()],PDO::PARAM_INT); $stmt->execute(); }