PHP7 compatibility fixes.
[fa-stable.git] / reporting / includes / class.graphic.inc
index da537dd5caa00b8ea00a854ed37c0f265c39718f..81e93d25e6eab66374455f2c8b040103902f1b6a 100644 (file)
@@ -149,7 +149,7 @@ class graph
        var $fontfile = "";
        var $encoding;
        
-    function graph()
+    function __construct()
     {
        global $SysPrefs;
                $this->encoding = strtoupper($_SESSION['language']->encoding);