From 787a3300939a244a9ed43555199e07bd1fdbfb23 Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 9 Mar 2009 19:06:43 +0000 Subject: Minor api tweak git-svn-id: https://code.elgg.org/elgg/trunk@3147 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- cgit v1.2.3