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:
@@ -85,7 +85,7 @@ class ObjectManager
|
|||||||
"objectGetTableRow", "objectGetId", "canEdit"));
|
"objectGetTableRow", "objectGetId", "canEdit"));
|
||||||
|
|
||||||
/* We cannot process a queue if we are not logged in */
|
/* 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";
|
$sQueueText = $this->bIsRejected ? "rejected" : "queued";
|
||||||
echo '<div align="center">You need to <a href="'.login_url().'">';
|
echo '<div align="center">You need to <a href="'.login_url().'">';
|
||||||
|
|||||||
Reference in New Issue
Block a user