X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Images.php;h=ce54c472ec9d96907a711ea7b5c0e02dd38e06f1;hb=c8fcc1977bc58e9636df78a4b02c763a93114e19;hp=dfa2246b3602a403804b47004a7cb1c353ea1ba7;hpb=70e5fe210b35ca88a4aaf3768b8f8fadb5466b20;p=Pman.Core diff --git a/Images.php b/Images.php index dfa2246b..ce54c472 100644 --- a/Images.php +++ b/Images.php @@ -165,7 +165,7 @@ class Pman_Core_Images extends Pman $this->imgErr("image has been removed or deleted.",$s); } - if (!$this->authUser) { + if (!$this->authUser) && !in_array($img->ontable,$this->public_image_tables)) { if ($img->ontable != 'core_company') { $this->imgErr("not-authenticated",$s);