diff options
Diffstat (limited to 'system/core')
-rw-r--r-- | system/core/Model.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/system/core/Model.php b/system/core/Model.php index 9485ec2c9..9736faa7e 100644 --- a/system/core/Model.php +++ b/system/core/Model.php @@ -59,6 +59,10 @@ class CI_Model { */ public function __get($key) { + // Debugging note: + // If you're here because you're getting an error message + // saying 'Undefined Property: system/core/Model.php', it's + // most likely a typo in your model code. return get_instance()->$key; } |