From 8b5c90ef7058c52bd71c096cea6e6d0eac9c0766 Mon Sep 17 00:00:00 2001 From: Scott Kingsley Clark Date: Thu, 26 Jul 2012 17:18:00 -0500 Subject: [PATCH] Fixes #187 better --- classes/PodsForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/PodsForm.php b/classes/PodsForm.php index fe664b16c3..dad7252436 100644 --- a/classes/PodsForm.php +++ b/classes/PodsForm.php @@ -409,7 +409,7 @@ public static function regex ( $type, $options ) { public static function prepare ( $type, $options ) { self::field_loader( $type ); - $prepare = apply_filters( 'pods_field_' . $type . '_prepare', (array) self::$loaded[ $type ]->prepare( $options ), $options, $type ); + $prepare = apply_filters( 'pods_field_' . $type . '_prepare', self::$loaded[ $type ]->prepare( $options ), $options, $type ); return $prepare; }