Skip to content

Commit

Permalink
Set an initial blank string for response->internal->properties.
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-unwin committed May 16, 2016
1 parent a8a1c4b commit 13428c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code_igniter/application/helpers/input_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ function inputRead()
# perform some simple data cleansing
$CI->response->properties = str_replace(array('\'', '"', '(', ')'), '', $CI->response->properties);


$CI->response->internal->properties = '';
// create our internal properties list - this is what gets executed in SQL
if ($CI->response->properties != '*' and $CI->response->properties != $CI->response->sub_resource . '.*') {
$temp = explode(',', $CI->response->properties);
Expand Down

0 comments on commit 13428c9

Please sign in to comment.