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/Product.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demos/northwind-db/protected/database/Product.php') diff --git a/demos/northwind-db/protected/database/Product.php b/demos/northwind-db/protected/database/Product.php index 75d01c02..93736ab8 100644 --- a/demos/northwind-db/protected/database/Product.php +++ b/demos/northwind-db/protected/database/Product.php @@ -21,7 +21,7 @@ class Product extends TActiveRecord public $Category; public $OrderDetails=array(); - protected static $RELATIONS = array + public static $RELATIONS = array ( 'Supplier' => array(self::BELONGS_TO, 'Supplier'), 'Category' => array(self::BELONGS_TO, 'Category'), -- cgit v1.2.3