ChangeSet ID: 31272 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner(a)winehq.org 2007/07/23 20:49:40 Modified files: include : objectManager.php Log message: Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com> Return users to the submit page after logging in. Patch: http://cvs.winehq.org/patch.py?id=31272 Old revision New revision Changes Path 1.39 1.40 +2 -2 appdb/include/objectManager.php Index: appdb/include/objectManager.php diff -u -p appdb/include/objectManager.php:1.39 appdb/include/objectManager.php:1.40 --- appdb/include/objectManager.php:1.39 24 Jul 2007 1:49:40 -0000 +++ appdb/include/objectManager.php 24 Jul 2007 1:49:40 -0000 @@ -455,8 +455,8 @@ class ObjectManager if($oObject->allowAnonymousSubmissions() || $_SESSION['current']->isLoggedIn()) return; - util_show_error_page_and_exit("You need to be <a href=\"".BASE. - "account.php?sCmd=login\">logged in</a>. If you don’t have an ". + util_show_error_page_and_exit("You need to be <a href=\"".login_url(). + "\">logged in</a>. If you don’t have an ". "account you can <a href=\"".BASE."account.php?sCmd=new\">register ". "now</a>, it only takes a few seconds."); }