1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 06:07:32 +02:00

to avoid problem with not defined global variable

This commit is contained in:
Jimako
2016-12-19 14:26:56 +01:00
parent 4337fb0231
commit d0ccf576d6

View File

@@ -128,7 +128,7 @@ $sc_style['USER_SENDPM']['post'] = "</div><div class='f-right'>".LAN_USER_62."</
// Determine which other bits are installed; let photo span those rows (can't do signature - will vary with user)
$span = 4;
if ($tp->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']="<td {$span} class='forumheader3 center middle' style='width:20%'>";