Skip to content
This repository has been archived by the owner on Feb 23, 2019. It is now read-only.

Little fix to improve php 7.2 compatibility #578

Open
wants to merge 1 commit into
base: v0.9.6.x_wip
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cdn_Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {
Expand Down