summaryrefslogtreecommitdiff
path: root/tests/simple_unit/ActiveRecord/records/ItemRecord.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/simple_unit/ActiveRecord/records/ItemRecord.php')
-rw-r--r--tests/simple_unit/ActiveRecord/records/ItemRecord.php2
1 files changed, 1 insertions, 1 deletions
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)'),
);