diff options
Diffstat (limited to 'engine/lib/api.php')
-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 b86a8a09c..26f0acf91 100644 --- a/engine/lib/api.php +++ b/engine/lib/api.php @@ -274,7 +274,7 @@ $token = sanitise_string($token); // See if we can find the method handler - if (is_callable($METHODS[$method]["function"])) + if ((isset($METHODS[$method]["function"])) && (is_callable($METHODS[$method]["function"]))) { $serialised_parameters = ""; |