X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=reporting%2Frep707.php;fp=reporting%2Frep707.php;h=a0373b52e05751e39b53c1f725ccd6fc974a2329;hb=bd8f517d30d1edd3261e26e582ddd9e11c555616;hp=bdf8c3ba8290652b16fa3c3bef526205037d3668;hpb=5e63c6ace55729bbb5ee3b060035a25a4426eb0a;p=fa-stable.git diff --git a/reporting/rep707.php b/reporting/rep707.php index bdf8c3ba..a0373b52 100644 --- a/reporting/rep707.php +++ b/reporting/rep707.php @@ -329,7 +329,7 @@ function print_profit_and_loss_statement() $pg->type = $graphics; $pg->skin = $SysPrefs->graph_skin; $pg->built_in = false; - $pg->latin_notation = ($SysPrefs->decseps[$_SESSION["wa_current_user"]->prefs->dec_sep()] != "."); + $pg->latin_notation = ($SysPrefs->decseps[user_dec_sep()] != "."); $filename = company_path(). "/pdf_files/". uniqid("").".png"; $pg->display($filename, true); $w = $pg->width / 1.5;