diff --git a/functions.php b/functions.php index 70f6df9..d52a299 100644 --- a/functions.php +++ b/functions.php @@ -774,7 +774,7 @@ function biz_vektor_set_localize_script() { ); global $biz_vektor_options; - if ( isset( $biz_vektor_options['slider_slidespeed'] ) && ctype_digit( $biz_vektor_options['slider_slidespeed'] ) ) { + if ( isset( $biz_vektor_options['slider_slidespeed'] ) && ctype_digit( (string) $biz_vektor_options['slider_slidespeed'] ) ) { $flexslider['slideshowSpeed'] = $biz_vektor_options['slider_slidespeed']; } if ( isset( $biz_vektor_options['slider_animation'] ) && $biz_vektor_options['slider_animation'] ) {