Commit 233178 by dries
- Patch #509220 by tic2000: fixed text_field_sanitize() error.
--- modules/field/modules/text/text.module 2009/07/01 12:10:32 1.14
+++ modules/field/modules/text/text.module 2009/07/03 18:19:29 1.15
@@ -214,9 +214,9 @@
}
}
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']);
}
}
}
+++ modules/field/modules/text/text.module 2009/07/03 18:19:29 1.15
@@ -214,9 +214,9 @@
}
}
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']);
}
}
}