Skip to content

Commit

Permalink
use the correct operator
Browse files Browse the repository at this point in the history
  • Loading branch information
Tabrisrp committed Oct 17, 2016
1 parent b70153a commit e8ca27c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/admin/upgrader.php
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ function rocket_new_upgrade( $wp_rocket_version, $actual_version ) {
}

// Add a value to the new CF zone_id field if the CF domain is set
if ( version_compare( $actual_version, '2.8.21', '<' ) && phpversion() < '5.4' ) {
if ( version_compare( $actual_version, '2.8.21', '<' ) && phpversion() >= '5.4' ) {
$options = get_option( WP_ROCKET_SLUG );
if ( 0 < $options['do_cloudflare'] && $options['cloudflare_domain'] !== '' ) {
$cf_instance = get_rocket_cloudflare_api_instance();
Expand Down

0 comments on commit e8ca27c

Please sign in to comment.