Fixed time zone setting in default config file.
[fa-stable.git] / frontaccounting.php
index a81b66c303ce46bf9d8de4834e00d4464cacefdb..ec21ddb94984aa69cac1e34a5d611e592d3dd350 100644 (file)
@@ -34,10 +34,10 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
                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)
                {