From fe4574d4fe938b3fbfb6b0d38dc70b5473360100 Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 23 Jan 2017 12:53:21 -0800 Subject: [PATCH] {SETIMAGE} small behavior modification --- e107_core/shortcodes/single/setimage.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e107_core/shortcodes/single/setimage.php b/e107_core/shortcodes/single/setimage.php index 508f950ee..d531f1163 100644 --- a/e107_core/shortcodes/single/setimage.php +++ b/e107_core/shortcodes/single/setimage.php @@ -10,9 +10,9 @@ $parm['h'] = 0; $parm['crop'] = 0; } - e107::getParser()->thumbWidth = vartrue($parm['w'],100); - e107::getParser()->thumbHeight = vartrue($parm['h'],0); - e107::getParser()->thumbCrop = vartrue($parm['crop'],0); + e107::getParser()->thumbWidth = varset($parm['w'],0); + e107::getParser()->thumbHeight = varset($parm['h'],0); + e107::getParser()->thumbCrop = varset($parm['crop'],0); }