Class_acc_bilan : protect XML
This commit is contained in:
parent
912d8c046c
commit
9c684bee1c
1 changed files with 2 additions and 0 deletions
|
|
@ -385,6 +385,8 @@ class Acc_Bilan {
|
|||
// htmlentities() is not the best function to deal with XML
|
||||
// $a = htmlentities($ret[0]['acct_name'], ENT_QUOTES, "UTF-8", false);
|
||||
$a = $ret[0]['acct_name'];
|
||||
$a=str_replace('<','<',$a);
|
||||
$a=str_replace('>','>',$a);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue