This mail is an automated notification from the patch tracker
of the project: Galette.
/**************************************************************************/
[patch #107] Full Item Snapshot:
URL: <http://gna.org/patch/?func=detailitem&item_id=107>
Project: Galette
Submitted by: Loïs Taulelle
On: sam 10.04.2004 à 15:43
Category: None
Priority: 5 - Normal
Resolution: None
Assigned to: gruiick
Originator Email:
Status: Open
Summary: html_entity_decode()
Original Submission: link to bug #331
patch proposed by Deelight :
in includes/functions.inc.php, add :
function custom_html_entity_decode( $given_html, $quote_style = ENT_QUOTES )
{
$trans_table = array_flip(get_html_translation_table( HTML_ENTITIES,
$quote_style ));
$trans_table['''] = "'";
return ( strtr( $given_html, $trans_table ) );
}
Then, in "ajouter_adherent.php" and "voir_adherent.php", replace
all occurences of "html_entity_decode()" by "custom_html_entity_decode"
Groin, groin, groin.
--
<GruiicK> Un esprit malsaint, dans un porcin.
-+- #linuxfr / ircnet -+-