Skip to content

Commit 407b253

Browse files
author
Phil Sturgeon
committed
Merge pull request chriskacerguis#130 from Bulk70/master
Small bugfix for a PHP 5.3 strlen error
2 parents e00305e + ae7b2d4 commit 407b253

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

application/libraries/REST_Controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ public function response($data = array(), $http_code = null)
356356
$http_code = 404;
357357

358358
//create the output variable here in the case of $this->response(array());
359-
$output = $data;
359+
$output = NULL;
360360
}
361361

362362
// Otherwise (if no data but 200 provided) or some data, carry on camping!

0 commit comments

Comments
 (0)