Skip to content

Commit

Permalink
Review change
Browse files Browse the repository at this point in the history
  • Loading branch information
Tymotey committed Sep 20, 2024
1 parent b22c3bc commit 611013d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cdn.cls.php
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,9 @@ private function _replace_inline_css()

// Parse file postfix
$parsed_url = parse_url($url, PHP_URL_PATH);
if(is_null($parsed_url)) continue;
if (!$parsed_url) {
continue;
}

$postfix = '.' . pathinfo($parsed_url, PATHINFO_EXTENSION);
if (array_key_exists($postfix, $this->_cfg_cdn_mapping)) {
Expand Down

0 comments on commit 611013d

Please sign in to comment.