diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2014-04-09 08:48:39 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2014-04-09 08:48:39 +0200 |
commit | 39ca69b0072a618c0ccc112a016a44970c6667f7 (patch) | |
tree | 26fdeab3483ae9f66cd1315c4185d6c1b7954121 | |
parent | a2cf7c41b97a587d90188b83e4d15da1567a54b4 (diff) | |
parent | bc088fdc907d1d88982429608e7d75507feee784 (diff) |
Merge branch 'master' of github.com:roundcube/roundcubemail
-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; } |