Fix #5655 - UAT of Press release detail pages
authorEdward <edward@roojs.com>
Fri, 25 Jan 2019 04:27:33 +0000 (12:27 +0800)
committerEdward <edward@roojs.com>
Fri, 25 Jan 2019 04:27:33 +0000 (12:27 +0800)
Images.php

index 54984b9..2e7c981 100644 (file)
@@ -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);
         }