diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-24 00:02:05 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-24 00:02:05 +0000 |
commit | 4ae238ea577ed0140df6fd034b06bfd7b0f0cdb4 (patch) | |
tree | 91a4f64953675ba9204158ebca02276aec7555ba /modules/field/field.attach.inc | |
parent | c98fd96c62e6a60f5e5e2476ebc38766e438c535 (diff) | |
download | brdo-4ae238ea577ed0140df6fd034b06bfd7b0f0cdb4.tar.gz brdo-4ae238ea577ed0140df6fd034b06bfd7b0f0cdb4.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'modules/field/field.attach.inc')
-rw-r--r-- | modules/field/field.attach.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/field/field.attach.inc b/modules/field/field.attach.inc index 51ee56b1f..f5f5de5b0 100644 --- a/modules/field/field.attach.inc +++ b/modules/field/field.attach.inc @@ -207,7 +207,7 @@ function _field_invoke($op, $obj_type, $object, &$a = NULL, &$b = NULL, $options // Invoke the field hook and collect results. $function = $options['default'] ? 'field_default_' . $op : $field['module'] . '_field_' . $op; - if (drupal_function_exists($function)) { + if (function_exists($function)) { // Iterate over all the field translations. foreach ($field_translations as $langcode => $items) { $result = $function($obj_type, $object, $field, $instance, $langcode, $items, $a, $b); @@ -336,7 +336,7 @@ function _field_invoke_multiple($op, $obj_type, $objects, &$a = NULL, &$b = NULL foreach ($fields as $field_id => $field) { $field_name = $field['field_name']; $function = $options['default'] ? 'field_default_' . $op : $field['module'] . '_field_' . $op; - if (drupal_function_exists($function)) { + if (function_exists($function)) { // Iterate over all the field translations. foreach ($grouped_items[$field_id] as $langcode => $items) { $results = $function($obj_type, $grouped_objects[$field_id], $field, $grouped_instances[$field_id], $langcode, $grouped_items[$field_id][$langcode], $options, $a, $b); |