diff options
Diffstat (limited to 'modules/gallery/models/item.php')
| -rw-r--r-- | modules/gallery/models/item.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/models/item.php b/modules/gallery/models/item.php index a0598ea4..1ce4d340 100644 --- a/modules/gallery/models/item.php +++ b/modules/gallery/models/item.php @@ -350,6 +350,7 @@ class Item_Model extends ORM_MPTT { if (!empty($this->changed) && $this->changed != array("view_count" => "view_count")) { $this->updated = time(); if (!$this->loaded) { + try { $this->created = $this->updated; $weight = Database::instance() ->select("weight")->from("items") |
