From 9182bbb410affd0ff3f795b5cda760e1fbae2c42 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Thu, 13 Nov 2008 02:18:49 +0000 Subject: [PATCH] Fixed fatal error in CommentTableField: git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65783 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/CommentTableField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/CommentTableField.php b/code/CommentTableField.php index b7f9f72a..19859a35 100644 --- a/code/CommentTableField.php +++ b/code/CommentTableField.php @@ -8,7 +8,7 @@ class CommentTableField extends ComplexTableField { protected $template = "CommentTableField"; protected $mode; - function __construct($controller, $name, $sourceClass, $mode, $fieldList, $detailFormFields = null, $sourceFilter = "", $sourceSort = "Created DESC", $sourceJoin = "") { + function __construct($controller, $name, $sourceClass, $mode, $fieldList, $detailFormFields = null, $sourceFilter = "", $sourceSort = "Created", $sourceJoin = "") { $this->mode = $mode; parent::__construct($controller, $name, $sourceClass, $fieldList, $detailFormFields, $sourceFilter, $sourceSort, $sourceJoin);