1
0
mirror of https://github.com/e107inc/e107.git synced 2025-05-04 11:24:54 +02:00

Fix for forum not displaying.

This commit is contained in:
Cameron 2017-01-04 11:03:51 -08:00
parent 0be6ec5070
commit de1490de71
2 changed files with 7 additions and 3 deletions

View File

@ -116,9 +116,13 @@ class contact_shortcodes extends e_shortcode
}
function sc_contact_body($parm='')
function sc_contact_body($parm=null)
{
if(is_string($parm))
{
parse_str($parm, $parm);
}
$rows = vartrue($parm['rows'],10);
$cols = vartrue($parm['cols'],70);
$placeholder = !empty($parm['placeholder']) ? "placeholder=\"".$parm['placeholder']."\"" : "";

View File

@ -330,7 +330,7 @@ if(empty($FORUM_TEMPLATE))
}
}
if(is_array($FORUM_TEMPLATE) && deftrue('BOOTSTRAP',false)) // new v2.x format.
if(is_array($FORUM_TEMPLATE)) // new v2.x format.
{
if(varset($FORUM_TEMPLATE['main-start'])) // correction of previous v2.x setup.