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 823e994 commit 7638eaaCopy full SHA for 7638eaa
lib/PHPExif/Mapper/Exiftool.php
@@ -139,7 +139,7 @@ public function mapRawData(array $data)
139
try {
140
$value = new DateTime($value);
141
} catch (\Exception $exception) {
142
- $value = false;
+ continue 2;
143
}
144
break;
145
case self::EXPOSURETIME:
@@ -158,10 +158,7 @@ public function mapRawData(array $data)
158
159
160
// set end result
161
- if ($value !== false) {
162
- // Only map data when it does not equal a false value
163
- $mappedData[$key] = $value;
164
- }
+ $mappedData[$key] = $value;
165
166
167
// add GPS coordinates, if available
0 commit comments