From: Sam Reed Date: Sun, 13 Mar 2011 21:33:35 +0000 (+0000) Subject: Fix undefined $p from r83797 X-Git-Tag: 1.31.0-rc.0~31447 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=a5db7650832b68a3d6b9684542383aa5f078a55a;p=lhc%2Fweb%2Fwiklou.git Fix undefined $p from r83797 --- diff --git a/includes/api/ApiQueryLogEvents.php b/includes/api/ApiQueryLogEvents.php index 42401818c4..e0d87d79aa 100644 --- a/includes/api/ApiQueryLogEvents.php +++ b/includes/api/ApiQueryLogEvents.php @@ -384,6 +384,7 @@ class ApiQueryLogEvents extends ApiQueryBase { } public function getParamDescription() { + $p = $this->getModulePrefix(); return array( 'prop' => array( 'Which properties to get', @@ -399,7 +400,7 @@ class ApiQueryLogEvents extends ApiQueryBase { ' tags - Lists tags for the event', ), 'type' => 'Filter log entries to only this type(s)', - 'action' => "Filter log actions to only this type. Overrides {$this->getModulePrefix()}type", + 'action' => "Filter log actions to only this type. Overrides {$p}type", 'start' => 'The timestamp to start enumerating from', 'end' => 'The timestamp to end enumerating', 'dir' => $this->getDirectionDescription( $p ),