1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Fixes #1597 - Legacy shortcode issue.

This commit is contained in:
Cameron
2016-05-01 09:30:33 -07:00
parent b4e4cb686c
commit bec7071cdf
7 changed files with 166 additions and 642 deletions

View File

@@ -316,6 +316,7 @@ class e_bbcode
if (is_array($this->bbList) && array_key_exists($code, $this->bbList))
{ // Check the bbcode 'cache'
$bbcode = $this->bbList[$code];
$debugFile = "(cached)";
}
else
{ // Find the file
@@ -355,14 +356,13 @@ class e_bbcode
if (E107_DEBUG_LEVEL)
{
global $db_debug;
$info = array(
'class' =>$className,
'path' => $debugFile
'path' => $debugFile,
// 'text' => $full_text
);
$db_debug->logCode(1, $code, $parm, print_a($info,true));
e107::getDebug()->logCode(1, $code, $parm, print_a($info,true));
}
global $e107_debug;