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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user