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 "xhprof: Guard against division by 0 when computing percentages"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiOpenSearch.php
diff --git
a/includes/api/ApiOpenSearch.php
b/includes/api/ApiOpenSearch.php
index
4a9e216
..
2235ba9
100644
(file)
--- a/
includes/api/ApiOpenSearch.php
+++ b/
includes/api/ApiOpenSearch.php
@@
-59,7
+59,7
@@
class ApiOpenSearch extends ApiBase {
}
public function getCustomPrinter() {
- switch( $this->getFormat() ) {
+ switch
( $this->getFormat() ) {
case 'json':
return $this->getMain()->createPrinterByName( 'json' . $this->fm );