summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Boggs2013-07-23 22:30:23 (GMT)
committer Greg Boggs2013-07-23 22:30:23 (GMT)
commit973d345f1e9362c3875b29809b862df0cc4b78ab (patch)
treec225b0c42db8b468136747843d5243cee345cdd1
parent7a6b777f7c640d4f28f462026f8856411b1233a1 (diff)
Issue #2034791 by RoSk0: fixed function name check
-rw-r--r--media_colorbox.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/media_colorbox.module b/media_colorbox.module
index c8bc705..d69202e 100644
--- a/media_colorbox.module
+++ b/media_colorbox.module
@@ -142,7 +142,7 @@ function media_colorbox_field_formatter_settings_form($field, $instance, $view_m
if($display['type'] == 'colorbox_link'){
//had an issue when using this formatter in a View, results in a Fatal error: undefined function field_ui_formatter_options()
- if (!function_exists(field_ui_formatter_options)) {
+ if (!function_exists('field_ui_formatter_options')) {
module_load_include('inc', 'field_ui', 'field_ui.admin');
}
if($field['type'] == 'text'){