We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5546c72 commit aaed181Copy full SHA for aaed181
lib/PHPExif/Mapper/ImageMagick.php
@@ -278,9 +278,9 @@ protected function extractGPSCoordinates(string $coordinates): float|false
278
if (preg_match($m, $coordinates, $matches) === 0) {
279
return false;
280
}
281
- if (!isset($matches[1])) {
282
- return false;
283
- }
+ // if (!isset($matches[1])) {
+ // return false;
+ // }
284
$degrees = $this->normalizeComponent($matches[1]);
285
$minutes = $this->normalizeComponent($matches[2] ?? '0');
286
$seconds = $this->normalizeComponent($matches[3] ?? '0');
0 commit comments