Merge branch 'MDL-35997-wip1' of git://github.com/mouneyrac/moodle
[moodle.git] / lib / external / externallib.php
index e61df28..5ba6a5e 100644 (file)
@@ -67,7 +67,7 @@ class core_external extends external_api {
                     // If a parameter is unnamed throw an exception
                     // unnamed param is only possible if one only param is sent.
                     if (empty($stringparam['name'])) {
-                        throw new moodle_exception('unamedstringparam', 'webservice');
+                        throw new moodle_exception('unnamedstringparam', 'webservice');
                     }
 
                     $strparams->{$stringparam['name']} = $stringparam['value'];