Permalink
Browse files

Merge branch 's11_MDL-28121_split_master' of github.com:dongsheng/moodle

  • Loading branch information...
2 parents a80d6ab + 8819c47 commit 4c9e9e09eafdd5fe2902aae43ebf6c61410d1424 Sam Hemelryk committed Jul 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 webservice/lib.php
View
@@ -340,7 +340,7 @@ public function get_service_required_capabilities($serviceid) {
$functions = $this->get_external_functions(array($serviceid));
$requiredusercaps = array();
foreach ($functions as $function) {
- $functioncaps = split(',', $function->capabilities);
+ $functioncaps = explode(',', $function->capabilities);
if (!empty($functioncaps) and !empty($functioncaps[0])) {
foreach ($functioncaps as $functioncap) {
$requiredusercaps[$function->name][] = trim($functioncap);

0 comments on commit 4c9e9e0

Please sign in to comment.