[0003733] Fixed php7 compatibility issue.
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Sun, 15 Jan 2017 18:22:16 +0000 (19:22 +0100)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Sun, 15 Jan 2017 18:22:16 +0000 (19:22 +0100)
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)
                {