diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-04-10 08:41:34 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-04-10 08:41:34 +0200 |
commit | eddaf0b5f68c9863181b62db33bc468d38071e8a (patch) | |
tree | 16028e6f44573377ba901f097d64e97b1b79f6c2 /program/lib/Roundcube/html.php | |
parent | 70c0d256841aa736a3f4a74a345ec4b0dfcdad78 (diff) | |
parent | 39ca69b0072a618c0ccc112a016a44970c6667f7 (diff) |
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'program/lib/Roundcube/html.php')
-rw-r--r-- | program/lib/Roundcube/html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/html.php b/program/lib/Roundcube/html.php index 64324dd8e..f47ef299a 100644 --- a/program/lib/Roundcube/html.php +++ b/program/lib/Roundcube/html.php @@ -285,7 +285,7 @@ class html // ignore not allowed attributes if (!empty($allowed)) { - $is_data_attr = substr_compare($key, 'data-', 0, 5) === 0; + $is_data_attr = @substr_compare($key, 'data-', 0, 5) === 0; if (!isset($allowed_f[$key]) && (!$is_data_attr || !isset($allowed_f['data-*']))) { continue; } |