Index: trunk/phase3/includes/api/ApiQuery.php |
— | — | @@ -229,8 +229,8 @@ |
230 | 230 | * Create instances of all modules requested by the client |
231 | 231 | */ |
232 | 232 | private function InstantiateModules(&$modules, $param, $moduleList) { |
233 | | - $list = $this->params[$param]; |
234 | | - if (isset ($list)) |
| 233 | + $list = @$this->params[$param]; |
| 234 | + if (!is_null ($list)) |
235 | 235 | foreach ($list as $moduleName) |
236 | 236 | $modules[] = new $moduleList[$moduleName] ($this, $moduleName); |
237 | 237 | } |