summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcatch2011-10-06 16:09:15 +0900
committercatch2011-10-06 16:09:15 +0900
commit85ca330772f03e96f2338022c5ba6fb8100b1a1e (patch)
treea0fcb6ba96b15d06b40878e5cf743f0935397214
parent966be260839417578b749af7c30688b6180eead7 (diff)
Issue #1300482 by pillarsdotnet: Fixed Remove cruft function_exists() from _field_filter_items() leftover from the (removed) function registry.
-rw-r--r--modules/field/field.module1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/field/field.module b/modules/field/field.module
index 8969547..f04c39c 100644
--- a/modules/field/field.module
+++ b/modules/field/field.module
@@ -515,7 +515,6 @@ function field_get_default_value($entity_type, $entity, $field, $instance, $lang
*/
function _field_filter_items($field, $items) {
$function = $field['module'] . '_field_is_empty';
- function_exists($function);
foreach ((array) $items as $delta => $item) {
// Explicitly break if the function is undefined.
if ($function($item, $field)) {