Pman/Roo.php
authorAlan Knowles <alan@roojs.com>
Wed, 7 May 2014 11:40:53 +0000 (19:40 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 7 May 2014 11:40:53 +0000 (19:40 +0800)
Pman/Roo.php

index 87297b0..2854036 100644 (file)
@@ -64,7 +64,7 @@ class Pman_Roo extends Pman
         if (!$au) {  
             $this->jerr("Not authenticated", array('authFailure' => true));
         }
-        if ($au->pid() < 1) { // not set up yet..
+        if (!$au->pid()   ) { // not set up yet..
             $this->jerr("Not authenticated", array('authFailure' => true));
         }