diff options
Diffstat (limited to 'engine')
-rw-r--r-- | engine/classes/ErrorResult.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/classes/ErrorResult.php b/engine/classes/ErrorResult.php index 8dbb7c13f..d4766b3d2 100644 --- a/engine/classes/ErrorResult.php +++ b/engine/classes/ErrorResult.php @@ -26,7 +26,7 @@ class ErrorResult extends GenericResult { * * @return void */ - public function ErrorResult($message, $code = "", Exception $exception = NULL) { + public function __construct($message, $code = "", Exception $exception = NULL) { if ($code == "") { $code = ErrorResult::$RESULT_FAIL; } |