From: Alan Knowles Date: Wed, 27 Sep 2017 07:00:41 +0000 (+0800) Subject: Images.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=c8fcc1977bc58e9636df78a4b02c763a93114e19 Images.php --- 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);