1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

PHP warning removal and social/e_header.php added to deprecated list.

This commit is contained in:
Cameron
2016-12-30 14:45:54 -08:00
parent 10f1a4246c
commit abf125d2fc
2 changed files with 7 additions and 3 deletions

View File

@@ -135,7 +135,8 @@ class admin_start
e_PLUGIN."online_extended_menu/images/user.png",
e_PLUGIN."online_extended_menu/languages/English.php",
e_PLUGIN."pm/sendpm.sc",
e_PLUGIN."pm/shortcodes/"
e_PLUGIN."pm/shortcodes/",
e_PLUGIN."social/e_header.php"
);

View File

@@ -53,8 +53,11 @@ class featurebox_shortcodes// must match the plugin's folder name. ie. [PLUGIN_F
{
$ctemplate = $mod;
}
parse_str($parm, $parm);
if(is_string($parm))
{
parse_str($parm, $parm);
}
$category = $this->getCategoryModel($ctemplate, (vartrue($parm['force']) ? true : false));
$defopt = array(