From c2e9544ca4f874e6adf1453b81bedd65eb138731 Mon Sep 17 00:00:00 2001 From: Jimako Date: Fri, 24 Mar 2017 14:21:00 +0100 Subject: [PATCH] improved param $class in contact subject shordcode --- e107_core/shortcodes/batch/contact_shortcodes.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e107_core/shortcodes/batch/contact_shortcodes.php b/e107_core/shortcodes/batch/contact_shortcodes.php index fb425bff8..d113cd052 100644 --- a/e107_core/shortcodes/batch/contact_shortcodes.php +++ b/e107_core/shortcodes/batch/contact_shortcodes.php @@ -131,10 +131,10 @@ class contact_shortcodes extends e_shortcode { $size = 'input-xxlarge'; } - + $class = (!empty($parm['class'])) ? $parm['class'] : 'tbox '.$size.' form-control'; - return ""; + return ""; } @@ -145,4 +145,4 @@ class contact_shortcodes extends e_shortcode } -?> \ No newline at end of file +?>