From 4a9eeb1fa3b332a031483102f2cdcdd2a84dd41f Mon Sep 17 00:00:00 2001 From: Edward Date: Tue, 19 Feb 2019 17:53:46 +0800 Subject: [PATCH] Images.php --- Images.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Images.php b/Images.php index e41410d6..3a4b741b 100644 --- a/Images.php +++ b/Images.php @@ -190,6 +190,10 @@ class Pman_Core_Images extends Pman if (!$this->authUser && !in_array($img->ontable,$this->public_image_tables)) { + if($this->is_email) { + return $this->serve($img); + } + if ($img->ontable != 'core_company') { $this->imgErr("not-authenticated {$img->ontable}",$s); } -- 2.39.2