[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dolibarr-bugtrack] [bug #13932] régén ération pdf devrait supprimer *.p
From: |
Christophe PEREZ |
Subject: |
[Dolibarr-bugtrack] [bug #13932] régén ération pdf devrait supprimer *.png associé d e préview |
Date: |
Fri, 29 Jul 2005 13:56:16 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.7.10) Gecko/20050724 Firefox/1.0.6 |
Follow-up Comment #4, bug #13932 (project dolibarr):
Pour le sanitize_string, justement, son appel dans
/includes/modules/facture/modules_facture.php, fonction facture_meta_create
est originellement :
sanitize_string($forbidden_chars,"_",$fac->ref);
avec la chaine en 3ième paramètre.
Or, son paramétrage dans /lib/functions.inc.php n'est qu'avec 1 paramètre :
function sanitize_string($str)
et elle est appelée ainsi partout ailleurs dans dolibarr.
Car elle inclue justement le $forbidden_chars et le caractère de remplacement
'_'.
Du coup, la fonction facture_meta_create ne fonctionne pas, et ne crée pas le
.meta sans la modif que j'ai proposée.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=13932>
_______________________________________________
Message posté via/par Savannah
http://savannah.nongnu.org/