summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/helpers/model_cache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/helpers/model_cache.php b/core/helpers/model_cache.php
index 0fea8b75..08783615 100644
--- a/core/helpers/model_cache.php
+++ b/core/helpers/model_cache.php
@@ -20,7 +20,7 @@
class model_cache_Core {
private static $cache;
- static function get($model_name, $id, $field_name="id") {
+ static function get($model_name, $id, $field_name="id") {
if (TEST_MODE || empty(self::$cache->$model_name->$field_name->$id)) {
$model = ORM::factory($model_name)->where($field_name, $id)->find();
if (!$model->loaded) {