From 54e9feab491bcf8d1a95b486b68605cb4441e603 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 29 Sep 2007 22:07:12 +0000 Subject: Changed RELATIONS declaration. --- tests/simple_unit/ActiveRecord/records/ItemRecord.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/simple_unit/ActiveRecord/records/ItemRecord.php') diff --git a/tests/simple_unit/ActiveRecord/records/ItemRecord.php b/tests/simple_unit/ActiveRecord/records/ItemRecord.php index 189d22c9..45d15427 100644 --- a/tests/simple_unit/ActiveRecord/records/ItemRecord.php +++ b/tests/simple_unit/ActiveRecord/records/ItemRecord.php @@ -19,7 +19,7 @@ class ItemRecord extends TActiveRecord public $related_items = array(); public $related_item_id; - protected static $RELATIONS=array + public static $RELATIONS=array ( 'related_items' => array(self::HAS_MANY, 'ItemRecord', 'related_items.(related_item_id)'), ); -- cgit v1.2.3