mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 03:24:20 +02:00
Fix for admin-log 'details'.
This commit is contained in:
@@ -638,8 +638,8 @@ class admin_log_form_ui extends e_admin_form_ui
|
|||||||
if(strpos($text,'Array')!==false || strlen($text)>300)
|
if(strpos($text,'Array')!==false || strlen($text)>300)
|
||||||
{
|
{
|
||||||
$id = $this->getController()->getListModel()->get('dblog_id');
|
$id = $this->getController()->getListModel()->get('dblog_id');
|
||||||
$ret ="<a class='e-expandit' href='#".$id."'>Details</a>";
|
$ret ="<a class='e-expandit' href='#rem-".$id."'>Details</a>";
|
||||||
$ret .= "<div class='hide' id='".$id."'>";
|
$ret .= "<div style='display:none' id='rem-".$id."'>";
|
||||||
$text = str_replace("<br />","\n",$text);
|
$text = str_replace("<br />","\n",$text);
|
||||||
$text = str_replace("\","/",$text);
|
$text = str_replace("\","/",$text);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user