From 6df07c3f780dac6c9ee5071298d3a3f81cce4ee0 Mon Sep 17 00:00:00 2001 From: Tijn Kuyper Date: Thu, 21 Mar 2019 10:17:07 +0100 Subject: [PATCH] Tweak forum shortcode styling (see previous commit) --- e107_plugins/forum/shortcodes/batch/forum_shortcodes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php b/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php index 4b2a244bf..522fff705 100644 --- a/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php +++ b/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php @@ -395,11 +395,11 @@ class forum_shortcodes extends e_shortcode if(!empty($parm['class'])) { - $class = $parm['class']; + $class = "class='".$parm['class']."'"; } $url = e107::url('forum', 'forum', $this->var); - return "{$this->var['forum_name']}"; + return "{$this->var['forum_name']}"; }