From: Edward Date: Fri, 25 Jan 2019 04:27:33 +0000 (+0800) Subject: Fix #5655 - UAT of Press release detail pages X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=a2fcf0a5aab24db643fc0c868d689c1ab3699e16 Fix #5655 - UAT of Press release detail pages --- diff --git a/Images.php b/Images.php index 54984b97..2e7c9819 100644 --- a/Images.php +++ b/Images.php @@ -465,7 +465,8 @@ class Pman_Core_Images extends Pman $id = $umatch[2]; $hash = ''; if (!empty($umatch[3]) && strpos($umatch[3],'#')) { - $hash = '#'. array_pop(explode('#',$umatch[3])); + $hh = explode('#',$umatch[3]); + $hash = '#'. array_pop($hh); }