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 eb5a528 commit 689a0acCopy full SHA for 689a0ac
lib/PHPExif/Exif.php
@@ -346,8 +346,8 @@ public function getExposureMilliseconds()
346
return false;
347
}
348
349
- if (is_float($this->data[self::EXPOSURE])) {
350
- return $this->data[self::EXPOSURE];
+ if (is_numeric($this->data[self::EXPOSURE])) {
+ return $this->data[self::EXPOSURE] + 0;
351
352
353
$exposureParts = explode('/', $this->data[self::EXPOSURE]);
0 commit comments