X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Factions%2FRawAction.php;h=c8f1a8d2f0b43beeb6012cbf56d1278b018f7b85;hb=0a6d507ed0871dba1f9baa4cc22dfcac34b047dd;hp=77a8b14e2c2c04a04e8e3df3528678ddef2d385e;hpb=102bfd66c84dbb9b690c78ad0c3975b7dc8f1a0a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/actions/RawAction.php b/includes/actions/RawAction.php index 77a8b14e2c..c8f1a8d2f0 100644 --- a/includes/actions/RawAction.php +++ b/includes/actions/RawAction.php @@ -116,7 +116,7 @@ class RawAction extends FormlessAction { $elevatedText = $elevated ? 'by elevated ' : ''; $log = LoggerFactory::getInstance( "security" ); $log->warning( - "Unsafe JS/CSS/Json $elevatedText" . "load - {user} loaded {title} with {ctype}", + "Unsafe JS/CSS/Json {$elevatedText}load - {user} loaded {title} with {ctype}", [ 'user' => $this->getUser()->getName(), 'title' => $title->getPrefixedDBKey(), @@ -215,7 +215,7 @@ class RawAction extends FormlessAction { // section not found (or section not supported, e.g. for JS, JSON, and CSS) $text = false; } else { - $text = $content->getNativeData(); + $text = $content->getText(); } } }