[Tickets #9180] Re: georeferenced photo upload has wrong decimal separator in longitude

bugs at horde.org bugs at horde.org
Fri Aug 20 00:43:02 UTC 2010


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/9180
------------------------------------------------------------------------------
  Ticket             | 9180
  Updated By         | Git Commit <commits at lists.horde.org>
  Summary            | georeferenced photo upload has wrong decimal separator
                     | in longitude
  Queue              | Ansel
  Version            | 1.1.1
  Type               | Bug
  State              | Assigned
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Michael Rubinsky
------------------------------------------------------------------------------


Git Commit <commits at lists.horde.org> (2010-08-19 20:43) wrote:

Changes have been made in Git for this ticket:

Don't perform any string operations on the variable when we assume  
it's the decimal value.
Just cast it outright, don't trim() or replace the ordinal indicators  
if present, the
cast operation will do that for us, and as a bonus, won't corrupt the  
value if it's in
a locale that doesn't use a decimal point for a decimal seperator.

Bug: 9180

http://git.horde.org/diff.php/framework/Image/lib/Horde/Image/Exif/Base.php?rt=horde-git&r1=3d36d1f649d343aac2c5a91a45de33e38456ae78&r2=f8c3e5f348ebd61023964d43c380bfce4630c8ef






More information about the bugs mailing list