MDL-32094 fix various E_STRICT compatibility problems

This commit is contained in:
Petr Skoda 2012-03-18 18:37:24 +01:00
parent 0ed6f71232
commit f20edd5208
27 changed files with 53 additions and 42 deletions

View file

@ -67,7 +67,7 @@ class webservice_xmlrpc_client extends Zend_XmlRpc_Client {
* @param array $params the parameters of the function
* @return mixed
*/
public function call($functionname, $params) {
public function call($functionname, $params=array()) {
global $DB, $CFG;
//zend expects 0 based array with numeric indexes