From: Edward Date: Mon, 30 Jul 2018 03:45:39 +0000 (+0800) Subject: Images.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=7e0911867cb3a4ac53bf1daf4d5871eb65eca35d Images.php --- diff --git a/Images.php b/Images.php index 034cdc3e..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($this->authUser);exit; + if (!$this->authUser && !in_array($img->ontable,$this->public_image_tables)) { if ($img->ontable != 'core_company') {