PHP7 compatibility fixes.
[fa-stable.git] / applications / inventory.php
index 965109b64b735040aa97520e4d0bcaae74261b34..e1c941f61f8adb9fd5fc4823b4e8449d30602b6b 100644 (file)
@@ -11,9 +11,9 @@
 ***********************************************************************/
 class inventory_app extends application
 {
-       function inventory_app()
+       function __construct()
        {
-               $this->application("stock", _($this->help_context = "&Items and Inventory"));
+               parent::__construct("stock", _($this->help_context = "&Items and Inventory"));
 
                $this->add_module(_("Transactions"));
                $this->add_lapp_function(0, _("Inventory Location &Transfers"),