From c8fcc1977bc58e9636df78a4b02c763a93114e19 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 27 Sep 2017 15:00:41 +0800 Subject: [PATCH] Images.php --- Images.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2