dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d3d3f3
)
array_flip() as per r61760#c5615 (follow up to r61760)
author
Sam Reed
<reedy@users.mediawiki.org>
Thu, 4 Feb 2010 18:12:01 +0000
(18:12 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Thu, 4 Feb 2010 18:12:01 +0000
(18:12 +0000)
includes/api/ApiQueryLogEvents.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiQueryLogEvents.php
b/includes/api/ApiQueryLogEvents.php
index
e2c4b49
..
a0c1c4f
100644
(file)
--- a/
includes/api/ApiQueryLogEvents.php
+++ b/
includes/api/ApiQueryLogEvents.php
@@
-42,8
+42,9
@@
class ApiQueryLogEvents extends ApiQueryBase {
public function execute() {
$params = $this->extractRequestParams();
$db = $this->getDB();
-
- $prop = $params['prop'];
+
+ $prop = array_flip( $params['prop'] );
+
$this->fld_ids = isset( $prop['ids'] );
$this->fld_title = isset( $prop['title'] );
$this->fld_type = isset( $prop['type'] );