diff options
Diffstat (limited to 'demos/northwind-db/protected/database/Territory.php')
-rw-r--r-- | demos/northwind-db/protected/database/Territory.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/northwind-db/protected/database/Territory.php b/demos/northwind-db/protected/database/Territory.php index 4da0ff46..16f33dea 100644 --- a/demos/northwind-db/protected/database/Territory.php +++ b/demos/northwind-db/protected/database/Territory.php @@ -13,7 +13,7 @@ class Territory extends TActiveRecord private $_region;
private $_employees;
- protected static $RELATIONS = array
+ public static $RELATIONS = array
(
'Region' => array(self::BELONGS_TO, 'Region'),
'Employees' => array(self::HAS_MANY, 'Employee', 'EmployeeTerritories')
|