Page MenuHomePhabricator

help-nonfm.patch

Authored By
bzimport
Nov 21 2014, 9:53 PM
Size
571 B
Referenced Files
None
Subscribers
None

help-nonfm.patch

Index: includes/api/ApiMain.php
===================================================================
--- includes/api/ApiMain.php (revision 23501)
+++ includes/api/ApiMain.php (working copy)
@@ -197,7 +197,7 @@
'code' => $e->getCodeString(), 'info' => $e->getMessage());
// Only print the help message when this is for the developer, not runtime
- if ($this->mPrinter->getIsHtml())
+ if ($this->mPrinter->getIsHtml() || $this->getRequest()->getVal('action') == 'help')
ApiResult :: setContent($errMessage, $this->makeHelpMsg());
} else {

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3755
Default Alt Text
help-nonfm.patch (571 B)

Event Timeline