git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7718
7612ce4b-ef26-0410-bec9-
ea0150e637f0
of read_body.php discovered by Roman Medina.
- Get alternating row colors of addressbook in sync with mailbox list.
- Give proper error when PEAR DB not found.
+ - Remove inappropriate strip_tags() from add-to-addressbook (#968475).
Version 1.5.0
--------------------
* Add new address *
**************************************************/
if (isset($addaddr)) {
- foreach( $addaddr as $k => $adr ) {
- $addaddr[$k] = strip_tags( $adr );
+ if (isset($backend)) {
+ $r = $abook->add($addaddr, $backend);
+ } else {
+ $r = $abook->add($addaddr, $abook->localbackend);
}
- if (isset($backend)) {
- $r = $abook->add($addaddr, $backend);
- } else {
- $r = $abook->add($addaddr, $abook->localbackend);
- }
/* Handle error messages */
if (!$r) {