diff --git a/admin/class-cf7-multislide-admin.php b/admin/class-cf7-multislide-admin.php index f85e9fc..0f66503 100755 --- a/admin/class-cf7-multislide-admin.php +++ b/admin/class-cf7-multislide-admin.php @@ -258,12 +258,12 @@ function intermediate_slides($cf7) { * @return array merged list of data fields from all slides if this is last slide. */ function merge_all_slide_posted_data($posted_data){ - //error_log("Multislide INITIAL data: \n".print_r($posted_data,true)); //Is this a multislide form? - $security = $posted_data['cf7slide_security']; - if( empty($security) ){ + if( !isset($posted_data['cf7slide_security']) ){ return $posted_data; } + $security = $posted_data['cf7slide_security']; + $current_slide = $posted_data['current_slide']; $total_slides = $posted_data['total_slides'];