summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Model.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Model.php b/system/libraries/Model.php
index e0335bf45..1c2b7afce 100644
--- a/system/libraries/Model.php
+++ b/system/libraries/Model.php
@@ -36,7 +36,7 @@ class Model {
function Model()
{
// If the magic __get() or __set() methods are used in a Model references can't be used.
- $this->_assign_libraries( (method_exists($this, '__get') OR method_exists('__set')) ? FALSE : TRUE );
+ $this->_assign_libraries( (method_exists($this, '__get') OR method_exists($this, '__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