summaryrefslogtreecommitdiffstats
path: root/system/libraries/Model.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/libraries/Model.php')
-rw-r--r--system/libraries/Model.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/libraries/Model.php b/system/libraries/Model.php
index dfb48a5d0..2fe93dd00 100644
--- a/system/libraries/Model.php
+++ b/system/libraries/Model.php
@@ -37,6 +37,7 @@ class Model {
{
// If the magic __get() method is used in a Model references can't be used.
$this->_assign_libraries( (method_exists($this, '__get')) ? FALSE : TRUE );
+ //$this->_assign_libraries( (method_exists($this, '__get') OR method_exists('__set')) ? FALSE : TRUE );
// We don't want to assign the model object to itself when using the
// assign_libraries function below so we'll grab the name of the model parent