summaryrefslogtreecommitdiffstats
path: root/external/newsapiresult.php
diff options
context:
space:
mode:
Diffstat (limited to 'external/newsapiresult.php')
-rw-r--r--external/newsapiresult.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/external/newsapiresult.php b/external/newsapiresult.php
index 7147d32bd..e4034bc20 100644
--- a/external/newsapiresult.php
+++ b/external/newsapiresult.php
@@ -31,8 +31,9 @@ class NewsAPIResult extends APIResult {
const EXISTS_ERROR = 409;
- public function __construct($data, $statusCode=NewsAPIResult::OK) {
- parent::__construct($data, $statusCode);
+ public function __construct($data=null, $statusCode=NewsAPIResult::OK,
+ $message=null) {
+ parent::__construct($data, $statusCode, $message);
}