summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-10-18 09:53:03 +0200
committerAleksander Machniak <alec@alec.pl>2012-10-18 09:53:03 +0200
commit043880738ae1489b87eb63b94729fa6112e3c67f (patch)
tree74501a9b2f8e0b1aaf940ceb258312926b987fcf
parentdf95e790ba49464dd6b093f0c45777288f738d7d (diff)
Ignore htmlspecialchars() warnings
-rw-r--r--program/include/html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/html.php b/program/include/html.php
index 234985241..880873ddc 100644
--- a/program/include/html.php
+++ b/program/include/html.php
@@ -334,7 +334,7 @@ class html
*/
public static function quote($str)
{
- return htmlspecialchars($str, ENT_COMPAT, RCMAIL_CHARSET);
+ return @htmlspecialchars($str, ENT_COMPAT, RCMAIL_CHARSET);
}
}