Skip to content

Commit

Permalink
! add back the whitespace removal, update the comments
Browse files Browse the repository at this point in the history
Signed-off-by: Spuds <spuds@spudsdesign.com>
  • Loading branch information
Spuds committed Jul 14, 2013
1 parent 916897a commit c1e5f15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sources/subs/Package.subs.php
Original file line number Diff line number Diff line change
Expand Up @@ -1482,8 +1482,8 @@ function matchHighestPackageVersion($versions, $reset = false, $the_version)
if ($reset)
$near_version = 0;

// Normalize the $versions while we remove our previous Doh!
$versions = explode(',', strtolower($versions));
// Normalize the $versions
$versions = explode(',', str_replace(' ', '', strtolower($versions)));

// Adjust things higher even though the starting number is lower so we pick up the right (latest) version
list($the_brand,) = explode(' ', $forum_version, 2);
Expand Down

0 comments on commit c1e5f15

Please sign in to comment.