From 0de0181cf2d570af9736cc01c04ee7f299b9dac8 Mon Sep 17 00:00:00 2001 From: Cameron Date: Tue, 3 Jan 2017 08:36:01 -0800 Subject: [PATCH] srcset h fix. (thanks to @G4HDU) --- 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 2302ae8ee..044f80bbf 100644 --- a/e107_handlers/e_parse_class.php +++ b/e107_handlers/e_parse_class.php @@ -2549,7 +2549,7 @@ class e_parse extends e_parser if(empty($parm['w']) && isset($parm['h'])) { $parm['h'] = ($parm['h'] * $multiply) ; - return $this->thumbUrl($src, $parm)." h".$parm['h']." ".$multiply; + return $this->thumbUrl($src, $parm)." ".$parm['h']."h ".$multiply; } $width = (!empty($parm['w']) || !empty($parm['h'])) ? (intval($parm['w']) * $multiply) : ($this->thumbWidth * $multiply);