diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-03-09 19:06:43 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-03-09 19:06:43 +0000 |
commit | 787a3300939a244a9ed43555199e07bd1fdbfb23 (patch) | |
tree | 153e61ac3e3f1891b4381b09dd10e201a8a48277 | |
parent | 5232729ae2b88453d56632d28987cc7f081f509e (diff) | |
download | elgg-787a3300939a244a9ed43555199e07bd1fdbfb23.tar.gz elgg-787a3300939a244a9ed43555199e07bd1fdbfb23.tar.bz2 |
Minor api tweak
git-svn-id: https://code.elgg.org/elgg/trunk@3147 36083f99-b078-4883-b0ff-0f9b5a30f544
-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 5a754e99a..c1ade103a 100644 --- a/engine/lib/api.php +++ b/engine/lib/api.php @@ -154,7 +154,7 @@ public function ErrorResult($message, $code = "", Exception $exception = NULL) { if ($code == "") - $code = GenericResult::$RESULT_FAIL; + $code = ErrorResult::$RESULT_FAIL; if ($exception!=NULL) $this->setResult($exception->__toString()); |