1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 11:50:30 +02:00

srcset h fix. (thanks to @G4HDU)

This commit is contained in:
Cameron
2017-01-03 08:36:01 -08:00
parent 77170fa7ef
commit 0de0181cf2

View File

@@ -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);