From a0d0133ba23d0cfd28675d51dba76937aefa13ac Mon Sep 17 00:00:00 2001 From: Freek van Rijt Date: Thu, 23 Oct 2014 15:21:39 +0200 Subject: [PATCH] Fixed issue #1845634: Undefined variable in conditional_fields_form_after_build() --- conditional_fields.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conditional_fields.module b/conditional_fields.module index 1d3233a..4f4eddf 100644 --- a/conditional_fields.module +++ b/conditional_fields.module @@ -592,8 +592,8 @@ function conditional_fields_form_after_build($form, &$form_state) { if (!empty($behaviors)) { foreach ($behaviors as $behavior) { // Custom behaviors are callbacks. - if (function_exists($$behavior)) { - $$behavior($form, $form_state, $dependent, $dependent_info); + if (function_exists($behavior)) { + $behavior($form, $form_state, $dependent, $dependent_info); } } } -- 1.9.0.msysgit.0