From b095230a38a62afc083dbb0744bfea4e2621400b Mon Sep 17 00:00:00 2001 From: Cameron Date: Wed, 13 Apr 2016 19:44:46 -0700 Subject: [PATCH] Fix for thumbnail generator with height value only --- e107_handlers/e_parse_class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_handlers/e_parse_class.php b/e107_handlers/e_parse_class.php index 8bd12c635..db1a35f46 100644 --- a/e107_handlers/e_parse_class.php +++ b/e107_handlers/e_parse_class.php @@ -2452,7 +2452,7 @@ class e_parse extends e_parser if(empty($parm['w']) && isset($parm['h'])) { $parm['h'] = ($parm['h'] * $multiply) ; - return $this->thumbUrl($src, $parm)." ".$multiply; + return $this->thumbUrl($src, $parm)." h".$parm['h']." ".$multiply; } $width = (!empty($parm['w'])) ? ($parm['w'] * $multiply) : ($this->thumbWidth * $multiply);