PHP7 compatibility fixes.
[fa-stable.git] / reporting / includes / fpdi / pdf_context.php
index ce0b0e0c2c2d80f9bc1805792dcc1e5379e0c067..703b5aa5b577baee2d8e96e505d73fba740074f1 100644 (file)
@@ -28,7 +28,7 @@ class pdf_context {
 
        // Constructor
 
-       function pdf_context($f) {
+       function __construct($f) {
                $this->file = $f;
                $this->reset();
        }