File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -305,7 +305,7 @@ public function get_api_version()
305305 public function get_ignore_ssl_errors ()
306306 {
307307 if ( $ this ->ignore_ssl_errors === null )
308- $ this ->ignore_ssl_errors = boolval ( get_option ( 'pdf-forms-for-woocommerce-settings-pdf-ninja-ignore-ssl-errors ' , false ) ) ;
308+ $ this ->ignore_ssl_errors = get_option ( 'pdf-forms-for-woocommerce-settings-pdf-ninja-ignore-ssl-errors ' , ' no ' ) == ' yes ' ;
309309
310310 return $ this ->ignore_ssl_errors ;
311311 }
@@ -316,7 +316,7 @@ public function get_ignore_ssl_errors()
316316 public function set_ignore_ssl_errors ( $ value )
317317 {
318318 $ this ->ignore_ssl_errors = $ value ;
319- update_option ( 'pdf-forms-for-woocommerce-settings-pdf-ninja-ignore-ssl-errors ' , $ value );
319+ update_option ( 'pdf-forms-for-woocommerce-settings-pdf-ninja-ignore-ssl-errors ' , $ value ? ' yes ' : ' no ' );
320320 return true ;
321321 }
322322
You can’t perform that action at this time.
0 commit comments