diff --git a/Cdn_Plugin.php b/Cdn_Plugin.php index 36f95f7..408b1da 100644 --- a/Cdn_Plugin.php +++ b/Cdn_Plugin.php @@ -1219,7 +1219,7 @@ function _minify_auto_pushcdn_link_replace_callback( $matches ) { function get_replaced_urls() { $strings = array(); - if ( count( $this->_replaced_urls ) ) { + if ( $this->_replaced_urls && count($this->_replaced_urls) ) { $strings[] = "Replaced URLs:"; foreach ( $this->_replaced_urls as $old_url => $new_url ) {