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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user