From a5db7650832b68a3d6b9684542383aa5f078a55a Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Sun, 13 Mar 2011 21:33:35 +0000 Subject: [PATCH] Fix undefined $p from r83797 --- includes/api/ApiQueryLogEvents.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ), -- 2.20.1