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

Fix for toDB() in 'no_html' mode. Admin-log now detects table in remarks.

This commit is contained in:
Cameron
2015-04-14 11:39:35 -07:00
parent 270c1e21a2
commit 67d62ce723
2 changed files with 22 additions and 11 deletions

View File

@@ -581,6 +581,16 @@ class admin_log_form_ui extends e_admin_form_ui
{
$val = $tp->lanVars($val, '<b>'.$match[1].'</b>');
}
else
{
preg_match("/\[!br!\]TABLE: ([\w]*)/i", $remark, $m);
if(!empty($m[1]))
{
$val = $tp->lanVars($val, '<b>'.$m[1].'</b>');
}
}
}
return $val;