A couple of additional smaller fixes.
[fa-stable.git] / reporting / rep102.php
index 2daae18d0406c6846f44e9e2fdfc88228b602562..04a55faebea09157ff21fec6d1d998803e841c27 100644 (file)
@@ -231,7 +231,7 @@ function print_aged_customer_analysis()
                $pg->skin      = $graph_skin;
                $pg->built_in  = false;
                $pg->latin_notation = ($decseps[$_SESSION["wa_current_user"]->prefs->dec_sep()] != ".");
-               $filename = company_path(). "/images/test.png";
+               $filename = company_path(). "/pdf_files/". uniqid("").".png";
                $pg->display($filename, true);
                $w = $pg->width / 1.5;
                $h = $pg->height / 1.5;