Skip to content

Commit

Permalink
Remove test code.
Browse files Browse the repository at this point in the history
  • Loading branch information
arnowelzel committed Jul 13, 2024
1 parent 2b43fba commit d3c1c5e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/LightboxPhotoSwipe/LightboxPhotoSwipe.php
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,6 @@ public function callbackProperties(array $matches)
} else {
$imgDetails = false;
}
$imgDetails = false;
if (!$imgDetails) {
$imageSize = $this->getImageSize($file . $params, $extension);
if (false !== $imageSize && is_numeric($imageSize[0]) && is_numeric($imageSize[1]) && $imageSize[0] > 0 && $imageSize[1] > 0) {
Expand Down

0 comments on commit d3c1c5e

Please sign in to comment.