1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-22 13:41:52 +02:00

thumbUrl() fix.

This commit is contained in:
Cameron 2016-10-18 10:20:10 -07:00
parent 48ee57d71f
commit c9bf31cf26

@ -2416,7 +2416,7 @@ class e_parse extends e_parser
$thurl .= 'aw='.intval($options['w']).'&ah='.intval($options['h']);
if(is_string($options['crop']))
if(!is_numeric($options['crop']))
{
$thurl .= '&c='.$options['crop'];
$options['nosef'] = true;
@ -2605,7 +2605,7 @@ class e_parse extends e_parser
elseif(!empty($options['crop']))
{
if(is_string($options['crop']))
if(!is_numeric($options['crop']))
{
$sefUrl .= strtolower($options['crop']).intval($options['w']) .'x'.strtolower($options['crop']). intval($options['h']);
}