From: umherirrender Date: Tue, 9 Sep 2014 18:22:35 +0000 (+0200) Subject: Use local var in Action::setHeaders X-Git-Tag: 1.31.0-rc.0~14035^2 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28?a=commitdiff_plain;h=cb33db78beb30f002f58e3b0fc6598f1c214dcbd;p=lhc%2Fweb%2Fwiklou.git Use local var in Action::setHeaders Change-Id: I543d45835016fd6f4f2ec0e84f4e5453237bbf25 --- diff --git a/includes/actions/Action.php b/includes/actions/Action.php index ffdf5168f2..8d11d901a2 100644 --- a/includes/actions/Action.php +++ b/includes/actions/Action.php @@ -351,7 +351,7 @@ abstract class Action { $out = $this->getOutput(); $out->setRobotPolicy( "noindex,nofollow" ); $out->setPageTitle( $this->getPageTitle() ); - $this->getOutput()->setSubtitle( $this->getDescription() ); + $out->setSubtitle( $this->getDescription() ); $out->setArticleRelated( true ); }