diff --git a/statistics.php b/statistics.php index 698093b..2c3f197 100644 --- a/statistics.php +++ b/statistics.php @@ -34,15 +34,17 @@ User Number of Events '; - -foreach($page->DB->resultToArray() as $key => $value) +if(is_array($page->DB->resultToArray() )) { - $top_participants .= '