Merged changes form stable branch up to 2.3.13
[fa-stable.git] / reporting / rep706.php
index ef975869b821ddbfee174542a1f2ac7b1fcf0cba..8a0e4d459c60bdac2f50db7607a3490781c8842a 100644 (file)
@@ -307,7 +307,7 @@ function print_balance_sheet()
                $pg->skin      = $graph_skin;
                $pg->built_in  = false;
                $pg->latin_notation = ($decseps[$_SESSION["wa_current_user"]->prefs->dec_sep()] != ".");
-               $filename = company_path(). "/pdf_files/test.png";
+               $filename = company_path(). "/pdf_files/". uniqid("").".png";
                $pg->display($filename, true);
                $w = $pg->width / 1.5;
                $h = $pg->height / 1.5;