diff options
Diffstat (limited to 'tests/simple_unit/ActiveRecord/records/DepSections.php')
-rw-r--r-- | tests/simple_unit/ActiveRecord/records/DepSections.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/simple_unit/ActiveRecord/records/DepSections.php b/tests/simple_unit/ActiveRecord/records/DepSections.php index 476371bd..c172245c 100644 --- a/tests/simple_unit/ActiveRecord/records/DepSections.php +++ b/tests/simple_unit/ActiveRecord/records/DepSections.php @@ -1,5 +1,4 @@ -<?php -
+<?php
class DepSections extends TActiveRecord
{
public $department_id;
@@ -8,9 +7,9 @@ class DepSections extends TActiveRecord public static $_tablename='department_sections';
- public static function finder()
+ public static function finder($className=__CLASS__)
{
- return self::getRecordFinder('DepSections');
+ return parent::finder($className);
}
}
|