summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/controls/Comments
diff options
context:
space:
mode:
Diffstat (limited to 'demos/quickstart/protected/controls/Comments')
-rw-r--r--demos/quickstart/protected/controls/Comments/CommentBlock.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/quickstart/protected/controls/Comments/CommentBlock.php b/demos/quickstart/protected/controls/Comments/CommentBlock.php
index f2f6e9a1..b0f23d47 100644
--- a/demos/quickstart/protected/controls/Comments/CommentBlock.php
+++ b/demos/quickstart/protected/controls/Comments/CommentBlock.php
@@ -19,9 +19,9 @@ class CommentRecord extends TActiveRecord
public static $_tablename='qs_comments';
- public static function finder()
+ public static function finder($className=__CLASS__)
{
- return self::getRecordFinder('CommentRecord');
+ return parent::finder($className);
}
}