[0004212] Work Order Entry: fixed error when voided WO refence is reused.
[fa-stable.git] / frontaccounting.php
index a81b66c303ce46bf9d8de4834e00d4464cacefdb..a7432037aba8eb77f494bd1a9294d13be90a4bb3 100644 (file)
@@ -31,13 +31,10 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
 
                var $menu;
 
-               function front_accounting()
-               {
-               }
-               function add_application(&$app)
+               function add_application($app)
                {       
                        if ($app->enabled) // skip inactive modules
-                               $this->applications[$app->id] = &$app;
+                               $this->applications[$app->id] = $app;
                }
                function get_application($id)
                {