PHP7 compatibility fixes.
[fa-stable.git] / applications / fixed_assets.php
index 3967c06a6e4f6981cc9ab0bf4e4e3f1ae488db74..8a3bb86dcb6e22c16b3adff79cb40a225ee4d0a2 100644 (file)
@@ -11,9 +11,9 @@
 ***********************************************************************/
 class assets_app extends application
 {
-       function assets_app()
+       function __construct()
        {
-               $this->application("assets", _($this->help_context = "&Fixed Assets"));
+               parent::__construct("assets", _($this->help_context = "&Fixed Assets"));
                        
                $this->add_module(_("Transactions"));
                $this->add_lapp_function(0, _("Fixed Assets &Purchase"),