PHP7 compatibility fixes.
[fa-stable.git] / applications / suppliers.php
index 56b702194f060110f9d3edcc02b040ba0ab217bf..5c649e484320a52462e9891fee916b76ff782b5f 100644 (file)
@@ -11,9 +11,9 @@
 ***********************************************************************/
 class suppliers_app extends application 
 {
-       function suppliers_app() 
+       function __construct() 
        {
-               $this->application("AP", _($this->help_context = "&Purchases"));
+               parent::__construct("AP", _($this->help_context = "&Purchases"));
 
                $this->add_module(_("Transactions"));
                $this->add_lapp_function(0, _("Purchase &Order Entry"),