Permalink
Browse files

Update GD.php

  • Loading branch information...
adrianbj committed Jun 29, 2013
1 parent 4fc6cfc commit d1d04703237c8865be9111cbe961fa9de37b180c
Showing with 2 additions and 2 deletions.
  1. +2 −2 Image/Canvas/GD.php
View
@@ -1861,9 +1861,9 @@ function _version()
}
}
- preg_match('/\d/', $version, $result );
+ preg_match('/(\d+)\./', $version, $result );
+ return $result[1];
- return $result[0];
}
}

0 comments on commit d1d0470

Please sign in to comment.