dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Add function to clear mPreparedEdit, to use in cases of mutable content"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiOpenSearch.php
diff --git
a/includes/api/ApiOpenSearch.php
b/includes/api/ApiOpenSearch.php
index
315ace3
..
433b743
100644
(file)
--- a/
includes/api/ApiOpenSearch.php
+++ b/
includes/api/ApiOpenSearch.php
@@
-40,6
+40,7
@@
class ApiOpenSearch extends ApiBase {
if ( in_array( $format, $allowed ) ) {
return $this->getMain()->createPrinterByName( $format );
}
+
return $this->getMain()->createPrinterByName( $allowed[0] );
}