From d0ccf576d6a4009813452f843e8da9b04dd884df Mon Sep 17 00:00:00 2001 From: Jimako Date: Mon, 19 Dec 2016 14:26:56 +0100 Subject: [PATCH] to avoid problem with not defined global variable --- e107_core/templates/user_template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_core/templates/user_template.php b/e107_core/templates/user_template.php index d663e7a96..b9bab11c0 100644 --- a/e107_core/templates/user_template.php +++ b/e107_core/templates/user_template.php @@ -128,7 +128,7 @@ $sc_style['USER_SENDPM']['post'] = "
".LAN_USER_62."parseTemplate("{USER_SENDPM}", FALSE, $user_shortcodes)) $span++; +if (e107::getParser()->parseTemplate("{USER_SENDPM}", FALSE, $user_shortcodes)) $span++; $span = " rowspan='".$span."' "; //$sc_style['USER_PICTURE']['pre']="";