From 28b739a2105cba83f877d4fc4022d710b920b5a7 Mon Sep 17 00:00:00 2001 From: Felix Rabinovich Date: Sat, 8 Nov 2008 07:18:56 +0000 Subject: Adding user (owner) to items; info module --- core/models/item.php | 1 + 1 file changed, 1 insertion(+) (limited to 'core/models') 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? -- cgit v1.2.3