From: Joe Hunt Date: Mon, 16 Aug 2021 06:09:11 +0000 (+0200) Subject: config.default.inc error on startup. Fixed by @apmuthu. X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=26d7ae434469ae407f209ae3c0d3955b29107d95 config.default.inc error on startup. Fixed by @apmuthu. --- diff --git a/config.default.php b/config.default.php index f6911699..37fcd736 100644 --- a/config.default.php +++ b/config.default.php @@ -150,7 +150,7 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_ $graph_skin = 1; /* UTF-8 font for Business Graphics. Copy it to /reporting/fonts/ folder. */ - $UTF8_fontfile = $_SESSION['language']->dir == 'ltr' ? "FreeSans.ttf" : "zarnormal.ttf"; // for Arabic Dashboard + $UTF8_fontfile = isset($_SESSION['language']) && $_SESSION['language']->dir == 'rtl' ? "zarnormal.ttf" : "FreeSans.ttf"; // for Dashboard /* Display a dropdown select box for choosing Company to login if false.