From 491efc6d750b1378709b86f16e99caf0fbfa71d9 Mon Sep 17 00:00:00 2001 From: Jeremy Shipman Date: Thu, 8 Nov 2007 03:37:45 +0000 Subject: [PATCH] Fixed i18n / stastics DB conflict git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44505 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- misc/Statistics.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/Statistics.php b/misc/Statistics.php index e89aee461..438ad35da 100644 --- a/misc/Statistics.php +++ b/misc/Statistics.php @@ -36,7 +36,7 @@ HTML; $ds = "var chartdata = { \n"; foreach($table as $class) { - $record = DataObject::get($class, "", "Created DESC"); + $record = DataObject::get($class, "", $class.".Created DESC"); $total = $record->TotalItems(); $props = $record->toArray();