From 51de63b5cfc6cc82e19b5d957ece68e63f8e08e7 Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Thu, 11 Feb 2010 13:46:00 +0000 Subject: [PATCH] statistics: Fix warning on unset fieldPresentation. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2171 44740490-163a-0410-bde0-09ae8108e29a --- modules/statistics/lib/StatDataset.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/statistics/lib/StatDataset.php b/modules/statistics/lib/StatDataset.php index 8ed2f094b..75104277f 100644 --- a/modules/statistics/lib/StatDataset.php +++ b/modules/statistics/lib/StatDataset.php @@ -272,7 +272,7 @@ class sspmod_statistics_StatDataset { return $presentationHandler->getPresentation(); } - return NULL; + return array(); } public function getDelimiterPresentationPie() { -- GitLab