summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-07-03 18:19:29 +0000
committerDries Buytaert <dries@buytaert.net>2009-07-03 18:19:29 +0000
commitbea411e11467dbed592f560ac4eedb26b7bd36b6 (patch)
tree3322c2d7bbca4d0699795a090c3de959262a3ca0 /modules
parent4cd373bf2ccbcd4645d52e3e4b2a25d74ef5b905 (diff)
downloadbrdo-bea411e11467dbed592f560ac4eedb26b7bd36b6.tar.gz
brdo-bea411e11467dbed592f560ac4eedb26b7bd36b6.tar.bz2
- Patch #509220 by tic2000: fixed text_field_sanitize() error.
Diffstat (limited to 'modules')
-rw-r--r--modules/field/modules/text/text.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/field/modules/text/text.module b/modules/field/modules/text/text.module
index bd241342b..49aa814aa 100644
--- a/modules/field/modules/text/text.module
+++ b/modules/field/modules/text/text.module
@@ -214,9 +214,9 @@ function text_field_sanitize($obj_type, $object, $field, $instance, &$items) {
}
}
else {
- $item[$delta]['safe'] = check_plain($item['value']);
+ $items[$delta]['safe'] = check_plain($item['value']);
if ($field['type'] == 'text_with_summary') {
- $item[$delta]['safe_summary'] = check_plain($item['summary']);
+ $items[$delta]['safe_summary'] = check_plain($item['summary']);
}
}
}