diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-12-21 16:40:01 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-12-21 16:40:01 -0800 |
commit | 5080bc12a240e6e6c1fb7d2c8e93d78137b5092c (patch) | |
tree | e868d7270c5339e69b50472bf72bbfbc9789fcd4 /modules | |
parent | 31a545fa26a002432f01beabdae147de34793ec8 (diff) |
Fix the relationship. DigibugProxy belongs to Item, not the other way
around. K24 ORM requires this because it needs to know where the
foreign key is (in the Digibug_Proxy table, in this case).
Diffstat (limited to 'modules')
-rw-r--r-- | modules/digibug/models/digibug_proxy.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/digibug/models/digibug_proxy.php b/modules/digibug/models/digibug_proxy.php index c76afdae..10949ed7 100644 --- a/modules/digibug/models/digibug_proxy.php +++ b/modules/digibug/models/digibug_proxy.php @@ -18,5 +18,5 @@ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ class Digibug_Proxy_Model extends ORM { - protected $has_one = array("item"); + protected $belongs_to = array("item"); } |