Changeset 1535850
- Timestamp:
- 11/17/2016 06:57:19 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
as-woocommerce-with-owl-carousel/trunk/inc/functions.php
r1465120 r1535850 226 226 if ($_POST['stopOnHover'] == 'true') { 227 227 $as_woo_data['stopOnHover'] = 'true'; 228 }elseif ($ as_woo_data['stopOnHover'] == 'false') {228 }elseif ($_POST['stopOnHover'] == 'false') { 229 229 $as_woo_data['stopOnHover'] = 'false'; 230 230 }else{ … … 670 670 global $as_woo_owl_setting_error; 671 671 $as_woo_owl_setting_error = new WP_Error(); 672 if ( $_POST['as_woo_owl_setting_submit']) {672 if (!empty($_POST['as_woo_owl_setting_submit'])) { 673 673 $loader_gif = esc_url($_POST['loader_gif']); 674 674 $as_atc_loader_gif = esc_url($_POST['as_atc_loader_gif']); … … 835 835 $as_woo_height = (empty($as_woo_set_value['as_woo_height'])) ? 200 : $as_woo_set_value['as_woo_height']; 836 836 837 if ( $as_woo_set_value['as_woo_checkbox'] == 'yes') {837 if (@$as_woo_set_value['as_woo_checkbox'] == 'yes') { 838 838 add_image_size( 'as_woo_owl_image', $as_woo_width, $as_woo_height, true ); 839 839 }else{
Note: See TracChangeset
for help on using the changeset viewer.