From c77dd90d71559d2322ce2419c1df0af64c911241 Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Sun, 15 Jan 2017 19:22:16 +0100 Subject: [PATCH] [0003733] Fixed php7 compatibility issue. --- frontaccounting.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontaccounting.php b/frontaccounting.php index a81b66c3..ec21ddb9 100644 --- a/frontaccounting.php +++ b/frontaccounting.php @@ -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) { -- 2.30.2