Images.php
authorAlan Knowles <alan@roojs.com>
Wed, 27 Sep 2017 07:00:54 +0000 (15:00 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 27 Sep 2017 07:00:54 +0000 (15:00 +0800)
Images.php

index ce54c47..8d0f377 100644 (file)
@@ -165,7 +165,7 @@ class Pman_Core_Images extends Pman
              $this->imgErr("image has been removed or deleted.",$s);
         }
         
-        if (!$this->authUser) && !in_array($img->ontable,$this->public_image_tables)) {
+        if (!$this->authUser && !in_array($img->ontable,$this->public_image_tables)) {
            
             if ($img->ontable != 'core_company') {
                 $this->imgErr("not-authenticated",$s);