diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-11-30 00:12:23 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-11-30 00:12:23 +0000 |
commit | 0ff2db93ddcf7d4e514a427fc8cea41dd5718c49 (patch) | |
tree | e8964e74b097526af29c061e4ffdfece7cceb4b8 /modules | |
parent | f4799d1ce9bcaca7f85d3dca6b772b597cafcb07 (diff) | |
download | brdo-0ff2db93ddcf7d4e514a427fc8cea41dd5718c49.tar.gz brdo-0ff2db93ddcf7d4e514a427fc8cea41dd5718c49.tar.bz2 |
- #39362: Fix code warnings in filter.module
Diffstat (limited to 'modules')
-rw-r--r-- | modules/filter.module | 5 | ||||
-rw-r--r-- | modules/filter/filter.module | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/modules/filter.module b/modules/filter.module index 2ee9f1743..280f53a21 100644 --- a/modules/filter.module +++ b/modules/filter.module @@ -1092,8 +1092,7 @@ function filter_xss($string, $format) { <[^>]*.(>|$) # a string that starts with a <, up until the > or the end of the string | # or > # just a > - )%x - ', '_filter_xss_split', $string); + )%x', '_filter_xss_split', $string); } /** @@ -1114,7 +1113,7 @@ function _filter_xss_split($m) { return; } - $string = &$m[1]; + $string = $m[1]; if (substr($string, 0, 1) != '<') { // We matched a lone ">" character diff --git a/modules/filter/filter.module b/modules/filter/filter.module index 2ee9f1743..280f53a21 100644 --- a/modules/filter/filter.module +++ b/modules/filter/filter.module @@ -1092,8 +1092,7 @@ function filter_xss($string, $format) { <[^>]*.(>|$) # a string that starts with a <, up until the > or the end of the string | # or > # just a > - )%x - ', '_filter_xss_split', $string); + )%x', '_filter_xss_split', $string); } /** @@ -1114,7 +1113,7 @@ function _filter_xss_split($m) { return; } - $string = &$m[1]; + $string = $m[1]; if (substr($string, 0, 1) != '<') { // We matched a lone ">" character |