summaryrefslogtreecommitdiff
path: root/modules/digibug
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-12-21 16:40:01 -0800
committerBharat Mediratta <bharat@menalto.com>2009-12-21 16:40:01 -0800
commit5080bc12a240e6e6c1fb7d2c8e93d78137b5092c (patch)
treee868d7270c5339e69b50472bf72bbfbc9789fcd4 /modules/digibug
parent31a545fa26a002432f01beabdae147de34793ec8 (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/digibug')
-rw-r--r--modules/digibug/models/digibug_proxy.php2
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");
}