Alexander Nicolaysen Sørnes : Use standard error page when not logged in on the queued items page

Chris Morgan cmorgan at winehq.org
Mon Oct 22 20:16:38 CDT 2007


Module: appdb
Branch: master
Commit: b7189e4f5973266a71426b82b816270931c4d403
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=b7189e4f5973266a71426b82b816270931c4d403

Author: Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Date:   Tue Oct 23 01:40:46 2007 +0200

Use standard error page when not logged in on the queued items page

---

 queueditems.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/queueditems.php b/queueditems.php
index 51435c5..4a226bc 100644
--- a/queueditems.php
+++ b/queueditems.php
@@ -11,7 +11,7 @@ require_once(BASE."include/appData.php");
 $oUser = new User($_SESSION['current']->iUserId);
 
 if(!$oUser->isLoggedIn())
-    util_show_error_page_and_exit("You need to log in to view your queued items.");
+    util_show_error_page_and_exit();
 
 apidb_header("View Your Queued Items");
 




More information about the wine-cvs mailing list