diff options
Diffstat (limited to 'engine')
-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()); |