X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Flogging%2FLogFormatter.php;h=9e7f056f080ea81670059586cf2633b5971190e5;hb=e7c0da1dc1b10cafc31f1a14cd2200f4221c8cff;hp=084a4b29c2a0c694fd674cf71cf9ec84c477358d;hpb=e92d87c26c408441d8c229fc1e9c7e0bcd93898a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/logging/LogFormatter.php b/includes/logging/LogFormatter.php index 084a4b29c2..9e7f056f08 100644 --- a/includes/logging/LogFormatter.php +++ b/includes/logging/LogFormatter.php @@ -455,7 +455,8 @@ class LogFormatter { // Bad things happens if the numbers are not in correct order ksort( $params ); - return $this->parsedParameters = $params; + $this->parsedParameters = $params; + return $this->parsedParameters; } /** @@ -737,7 +738,8 @@ class LegacyLogFormatter extends LogFormatter { } if ( $this->entry->isDeleted( LogPage::DELETED_ACTION ) ) { - return $this->revert = ''; + $this->revert = ''; + return $this->revert; } $title = $this->entry->getTarget();