diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php index a59ff7a69..a89e8e459 100644 --- a/e107_handlers/form_handler.php +++ b/e107_handlers/form_handler.php @@ -342,7 +342,7 @@ class e_form $previnput = $idinput."-preview"; $optioni = $idinput."-options"; - $img = (strpos($curVal,"://")!==false) ? $curVal : $tp->thumbUrl(e_MEDIA."avatars/".$curVal,"aw=".$width."&ah=".$height); + $img = (strpos($curVal,"://")!==false) ? $curVal : $tp->thumbUrl(e_MEDIA."avatars/".$curVal,"aw=".vartrue($width)."&ah=".vartrue($height)); if(!$curVal) { @@ -365,7 +365,7 @@ class e_form $text .= "\n