objectManager::display_table() should exit out only if the user isn't logged in AND the table

is a queue
This commit is contained in:
Chris Morgan
2007-07-16 03:04:54 +00:00
committed by WineHQ
parent 88a832199d
commit b0cecaf9d5

View File

@@ -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().'">';