summaryrefslogtreecommitdiff
path: root/demos/northwind-db/protected/database/Category.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/northwind-db/protected/database/Category.php')
-rw-r--r--demos/northwind-db/protected/database/Category.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/northwind-db/protected/database/Category.php b/demos/northwind-db/protected/database/Category.php
index 05fa7ed0..06fc979f 100644
--- a/demos/northwind-db/protected/database/Category.php
+++ b/demos/northwind-db/protected/database/Category.php
@@ -13,7 +13,7 @@ class Category extends TActiveRecord
public $Products=array();
- protected static $RELATIONS=array
+ public static $RELATIONS=array
(
'Products' => array(self::HAS_MANY, 'Product'),
);