summaryrefslogtreecommitdiff
path: root/demos/northwind-db/protected/database/OrderDetail.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/northwind-db/protected/database/OrderDetail.php')
-rw-r--r--demos/northwind-db/protected/database/OrderDetail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/northwind-db/protected/database/OrderDetail.php b/demos/northwind-db/protected/database/OrderDetail.php
index 9415e33e..1732b0d9 100644
--- a/demos/northwind-db/protected/database/OrderDetail.php
+++ b/demos/northwind-db/protected/database/OrderDetail.php
@@ -13,7 +13,7 @@ class OrderDetail extends TActiveRecord
public $Product;
public $Order;
- protected static $RELATIONS = array
+ public static $RELATIONS = array
(
'Product' => array(self::BELONGS_TO, 'Product'),
'Order' => array(self::BELONGS_TO, 'Order'),