Index: trunk/phase3/includes/api/ApiParamInfo.php |
— | — | @@ -117,6 +117,9 @@ |
118 | 118 | } |
119 | 119 | |
120 | 120 | $retval['helpurls'] = (array)$obj->getHelpUrls(); |
| 121 | + if ( isset( $retval['helpurls'][0] ) && $retval['helpurls'][0] === false ) { |
| 122 | + $retval['helpurls'] = array(); |
| 123 | + } |
121 | 124 | $result->setIndexedTagName( $retval['helpurls'], 'helpurl' ); |
122 | 125 | |
123 | 126 | $retval['allexamples'] = $examples; |