diff options
author | Felix Rabinovich <virshu@users.sourceforge.net> | 2008-11-08 07:18:56 +0000 |
---|---|---|
committer | Felix Rabinovich <virshu@users.sourceforge.net> | 2008-11-08 07:18:56 +0000 |
commit | 28b739a2105cba83f877d4fc4022d710b920b5a7 (patch) | |
tree | e814afda14126e1ae3160d07040f90042c42a8cd /core/models | |
parent | 3bb9b9185cb9445157ab20df9178f9a892a0bbe0 (diff) |
Adding user (owner) to items; info module
Diffstat (limited to 'core/models')
-rw-r--r-- | core/models/item.php | 1 |
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? |