summaryrefslogtreecommitdiff
path: root/modules/gallery/libraries/MY_ORM.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/libraries/MY_ORM.php')
-rw-r--r--modules/gallery/libraries/MY_ORM.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/libraries/MY_ORM.php b/modules/gallery/libraries/MY_ORM.php
index 319cbe09..1d3c1ef3 100644
--- a/modules/gallery/libraries/MY_ORM.php
+++ b/modules/gallery/libraries/MY_ORM.php
@@ -32,7 +32,7 @@ class ORM extends ORM_Core {
}
public function save() {
- model_cache::clear($this->object_name, $this->{$this->primary_key}, $this->primary_key);
+ model_cache::clear();
$result = parent::save();
$this->original = $this->object;
return $result;