summaryrefslogtreecommitdiff
path: root/core/models
diff options
context:
space:
mode:
Diffstat (limited to 'core/models')
-rw-r--r--core/models/item.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/models/item.php b/core/models/item.php
index 3a9faea0..c8d8d1e2 100644
--- a/core/models/item.php
+++ b/core/models/item.php
@@ -19,6 +19,7 @@
*/
class Item_Model extends ORM_MPTT {
protected $children = 'items';
+ protected $has_one = array('user');
/**
* Is this item an album?