1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-14 02:24:08 +02:00

More shortcode/parser BC (global) fixes.

This commit is contained in:
Cameron
2013-05-31 18:52:46 -07:00
parent b8cdc71795
commit 27e98076f0
4 changed files with 8 additions and 8 deletions

View File

@@ -349,7 +349,7 @@ if (!function_exists("parse_admin"))
{
function parse_admin($ADMINLAYOUT)
{
e107::getScBatch('admin');
$sc = e107::getScBatch('admin');
$tp = e107::getParser();
$adtmp = explode("\n", $ADMINLAYOUT);
@@ -357,7 +357,7 @@ if (!function_exists("parse_admin"))
{
if (preg_match("/{.+?}/", $adtmp[$a]))
{
echo $tp->parseTemplate($adtmp[$a]);
echo $tp->parseTemplate($adtmp[$a], true, $sc);
}
else
{