From: Edward Date: Mon, 30 Jul 2018 03:44:14 +0000 (+0800) Subject: Images.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=df38358a187fce2e114a5bef6bed979b8660ba12 Images.php --- 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') {