Permalink
Browse files

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

…into MOODLE_20_STABLE
  • Loading branch information...
2 parents 1dcb107 + f12c714 commit 39025fe1775c5aa2c5ad217e41560d9f32506eef Sam Hemelryk committed Jul 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 webservice/lib.php
View
@@ -315,7 +315,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 39025fe

Please sign in to comment.