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

Fix for admin-log 'details'.

This commit is contained in:
Cameron
2015-08-26 17:42:31 -07:00
parent 98bdf4253e
commit 46e336549c

View File

@@ -638,8 +638,8 @@ class admin_log_form_ui extends e_admin_form_ui
if(strpos($text,'Array')!==false || strlen($text)>300)
{
$id = $this->getController()->getListModel()->get('dblog_id');
$ret ="<a class='e-expandit' href='#".$id."'>Details</a>";
$ret .= "<div class='hide' id='".$id."'>";
$ret ="<a class='e-expandit' href='#rem-".$id."'>Details</a>";
$ret .= "<div style='display:none' id='rem-".$id."'>";
$text = str_replace("<br />","\n",$text);
$text = str_replace("&#092;","/",$text);