diff options
-rw-r--r-- | engine/lib/api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/api.php b/engine/lib/api.php index 933b718e8..2d205fad7 100644 --- a/engine/lib/api.php +++ b/engine/lib/api.php @@ -410,7 +410,7 @@ else throw new CallException(sprintf(elgg_echo('CallException:InvalidCallMethod'), $method, $METHODS[$method]["call_method"])); } - + // Return an error if not found throw new APIException(sprintf(elgg_echo('APIException:MethodCallNotImplemented'), $method)); } |