From df38358a187fce2e114a5bef6bed979b8660ba12 Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 30 Jul 2018 11:44:14 +0800 Subject: [PATCH] Images.php --- Images.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Images.php b/Images.php index 3c757e64..252cd249 100644 --- a/Images.php +++ b/Images.php @@ -183,7 +183,7 @@ class Pman_Core_Images extends Pman if (!$id || !$img->get($id)) { $this->imgErr("image has been removed or deleted.",$s); } - print_r($img);exit; + if (!$this->authUser && !in_array($img->ontable,$this->public_image_tables)) { if ($img->ontable != 'core_company') { -- 2.39.2