From: Janusz Dobrowolski Date: Sun, 15 Jan 2017 18:22:16 +0000 (+0100) Subject: [0003733] Fixed php7 compatibility issue. X-Git-Tag: v2.4.2~19^2~25 X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=c77dd90d71559d2322ce2419c1df0af64c911241 [0003733] Fixed php7 compatibility issue. --- 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) {