summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/gallery/models/item.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gallery/models/item.php b/modules/gallery/models/item.php
index 453a3525..fcd9b8e6 100644
--- a/modules/gallery/models/item.php
+++ b/modules/gallery/models/item.php
@@ -169,9 +169,11 @@ class Item_Model extends ORM_MPTT {
/**
* Specify the path to the data file associated with this item. To actually associate it,
* you still have to call save().
+ * @chainable
*/
public function set_data_file($data_file) {
$this->data_file = $data_file;
+ return $this;
}
/**