From 35e70e79363820fea975511fe157dd04af46b861 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Mon, 20 Sep 2021 23:58:38 +0200 Subject: [PATCH] Fix method visibility --- htdocs/core/class/stats.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/stats.class.php b/htdocs/core/class/stats.class.php index 6eac0820eb1..ae9a8e56e58 100644 --- a/htdocs/core/class/stats.class.php +++ b/htdocs/core/class/stats.class.php @@ -624,7 +624,7 @@ abstract class Stats * @param string $sql SQL * @return array */ - function _getAmountByYear($sql) + protected function _getAmountByYear($sql) { $result = array(); $resql = $this->db->query($sql);