Skip to content

Commit 9413b8b

Browse files
author
Phil Sturgeon
committed
Merge pull request chriskacerguis#224 from joeauty/master
Suppress PHP warnings
2 parents a725913 + 51ce7fb commit 9413b8b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

application/libraries/REST_Controller.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,11 @@ protected function early_checks()
146146
public function __construct()
147147
{
148148
parent::__construct();
149+
150+
// init objects
151+
$this->request = new stdClass();
152+
$this->response = new stdClass();
153+
$this->rest = new stdClass();
149154

150155
$this->_zlib_oc = @ini_get('zlib.output_compression');
151156

0 commit comments

Comments
 (0)