diff options
-rw-r--r-- | system/libraries/Model.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/system/libraries/Model.php b/system/libraries/Model.php index 3b5123fe4..1d3cbdfa0 100644 --- a/system/libraries/Model.php +++ b/system/libraries/Model.php @@ -65,8 +65,7 @@ class Model { // problems so we'll conditionally use them
if ($use_reference == TRUE)
{
- // Needed to prevent reference errors with some configurations
- $this->$key = '';
+ $this->$key = NULL; // Needed to prevent reference errors with some configurations
$this->$key =& $CI->$key;
}
else
|