I have a strange problem in 5.0.1 (6)
When I go to Fax/Scan and select a fax or a scanned document to upload to a patients chart, the document saves in documents root folder;
/openemr/sites/default/documents/
instead of
/openemr /sites/default/document/214 (where 214 is the PID)
and the URL inserted into the documents table has a double forward slash and no PID. The documents pull up fine in the patients chart since the URL works but my
/openemr/sites/default/documents folder is completely disorganized.
Any ideas on how to fix this in fax_dispatch.php ?
file:///var/www/openemr/sites/default/documents//test.pdf