diff options
author | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-19 16:54:49 +0000 |
---|---|---|
committer | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-19 16:54:49 +0000 |
commit | 8682dee527edc5f1e586d2c869cead1f3256aed3 (patch) | |
tree | 2a701af53872c9c6070322daa5c92a7925556868 /engine/lib/api.php | |
parent | 02216525051727cdd0049c5827b15b5ebc82df53 (diff) | |
download | elgg-8682dee527edc5f1e586d2c869cead1f3256aed3.tar.gz elgg-8682dee527edc5f1e586d2c869cead1f3256aed3.tar.bz2 |
Marcus Povey <marcus@dushka.co.uk>
* Removed warning when calling undeclaired functions
git-svn-id: https://code.elgg.org/elgg/trunk@255 36083f99-b078-4883-b0ff-0f9b5a30f544
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 = ""; |