Skip to content

Commit

Permalink
Flash: Survive cases when GPSVersionID contains something unexpected. C…
Browse files Browse the repository at this point in the history
…loses moxiecode#467.
  • Loading branch information
jayarjo committed Apr 4, 2012
1 parent 8049642 commit be285c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flash/plupload/src/com/mxi/image/ExifParser.as
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ package com.mxi.image {
}

Gps = extractTags(offsets['gpsIFD'], tags.gps);
if (Gps.hasOwnProperty('GPSVersionID')) {
if (Gps.hasOwnProperty('GPSVersionID') && Gps.GPSVersionID is Array) {
Gps.GPSVersionID = Gps.GPSVersionID.join('.');
}

Expand Down

0 comments on commit be285c9

Please sign in to comment.