summaryrefslogtreecommitdiff
path: root/demos/northwind-db/protected/database/Product.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/northwind-db/protected/database/Product.php')
-rw-r--r--demos/northwind-db/protected/database/Product.php2
1 files changed, 1 insertions, 1 deletions
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'),