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);