From d978221c355f7b714e40262e3528fd0c64148857 Mon Sep 17 00:00:00 2001 From: Ycarus Date: Wed, 1 Mar 2017 21:50:14 +0100 Subject: [PATCH] Fix #277 --- require/class.Stats.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/require/class.Stats.php b/require/class.Stats.php index 032bf327..f4cee213 100644 --- a/require/class.Stats.php +++ b/require/class.Stats.php @@ -971,8 +971,6 @@ public function deleteStatsByType($type,$stats_airline = '', $filter_name = '') } catch(PDOException $e) { echo "error : ".$e->getMessage(); } - $all = $sth->fetchAll(PDO::FETCH_ASSOC); - return $all; } public function getSumStats($type,$year,$stats_airline = '',$filter_name = '',$month = '') { if ($filter_name == '') $filter_name = $this->filter_name;