Index: trunk/phase3/includes/api/ApiParamInfo.php |
— | — | @@ -46,6 +46,7 @@ |
47 | 47 | if(is_array($params['modules'])) |
48 | 48 | { |
49 | 49 | $modArr = $this->getMain()->getModules(); |
| 50 | + $r['modules'] = array(); |
50 | 51 | foreach($params['modules'] as $m) |
51 | 52 | { |
52 | 53 | if(!isset($modArr[$m])) |
— | — | @@ -63,6 +64,7 @@ |
64 | 65 | if(is_array($params['querymodules'])) |
65 | 66 | { |
66 | 67 | $qmodArr = $queryObj->getModules(); |
| 68 | + $r['querymodules'] = array(); |
67 | 69 | foreach($params['querymodules'] as $qm) |
68 | 70 | { |
69 | 71 | if(!isset($qmodArr[$qm])) |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -133,6 +133,7 @@ |
134 | 134 | * Added PHP and database version to meta=siteinfo output |
135 | 135 | * (bug 18533) Add readonly message to meta=siteinfo output |
136 | 136 | * (bug 18518) Add clprop=hidden to prop=categories |
| 137 | +* (bug 18710) Fixed internal error with empty parameter in ApiParamInfo |
137 | 138 | |
138 | 139 | === Languages updated in 1.16 === |
139 | 140 | |