From 54e9feab491bcf8d1a95b486b68605cb4441e603 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 29 Sep 2007 22:07:12 +0000 Subject: Changed RELATIONS declaration. --- demos/northwind-db/protected/database/OrderDetail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demos/northwind-db/protected/database/OrderDetail.php') 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'), -- cgit v1.2.3