From 043880738ae1489b87eb63b94729fa6112e3c67f Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Thu, 18 Oct 2012 03:53:03 -0400
Subject: [PATCH] Ignore htmlspecialchars() warnings
---
program/include/html.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/program/include/html.php b/program/include/html.php
index 2349852..880873d 100644
--- a/program/include/html.php
+++ b/program/include/html.php
@@ -334,7 +334,7 @@
*/
public static function quote($str)
{
- return htmlspecialchars($str, ENT_COMPAT, RCMAIL_CHARSET);
+ return @htmlspecialchars($str, ENT_COMPAT, RCMAIL_CHARSET);
}
}
--
Gitblit v1.9.1