appdb/include objectManager.php
WineHQ
wineowner at wine.codeweavers.com
Sun Jul 15 22:04:54 CDT 2007
ChangeSet ID: 31253
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner at winehq.org 2007/07/15 22:04:54
Modified files:
include : objectManager.php
Log message:
Chris Morgan <cmorgan at alum.wpi.edu>
objectManager::display_table() should exit out only if the user isn't logged in AND the table
is a queue
Patch: http://cvs.winehq.org/patch.py?id=31253
Old revision New revision Changes Path
1.35 1.36 +1 -1 appdb/include/objectManager.php
Index: appdb/include/objectManager.php
diff -u -p appdb/include/objectManager.php:1.35 appdb/include/objectManager.php:1.36
--- appdb/include/objectManager.php:1.35 16 Jul 2007 3: 4:54 -0000
+++ appdb/include/objectManager.php 16 Jul 2007 3: 4:54 -0000
@@ -85,7 +85,7 @@ class ObjectManager
"objectGetTableRow", "objectGetId", "canEdit"));
/* We cannot process a queue if we are not logged in */
- if(!$_SESSION['current']->isLoggedIn())
+ if(!$_SESSION['current']->isLoggedIn() && $this->bIsQueue)
{
$sQueueText = $this->bIsRejected ? "rejected" : "queued";
echo '<div align="center">You need to <a href="'.login_url().'">';
More information about the wine-cvs
mailing list