PHP7 compatibility fixes.
[fa-stable.git] / includes / ui / simple_crud_class.inc
index 05d9280135e9e57a67509edc11475da0a0d5b5bc..40c8ebea6b29b5653b2a746284015329473dee33 100644 (file)
@@ -26,7 +26,7 @@ class simple_crud {
        var $dec;
        //
        //
-       function simple_crud($name, $fields = null)
+       function __construct($name, $fields = null)
        {
                $this->name = $name;
                $this->pre_handlers = array(