PHP7 compatibility fixes.
[fa-stable.git] / applications / generalledger.php
index 21d48b35e4535ad7ffeba22e7799f3b2767c58d5..f81f04e04a4423cb77d1557d0a3f50b2302a0952 100644 (file)
@@ -11,9 +11,9 @@
 ***********************************************************************/
 class general_ledger_app extends application
 {
-       function general_ledger_app()
+       function __construct()
        {
-               $this->application("GL", _($this->help_context = "&Banking and General Ledger"));
+               parent::__construct("GL", _($this->help_context = "&Banking and General Ledger"));
 
                $this->add_module(_("Transactions"));
                $this->add_lapp_function(0, _("&Payments"),