Skip to content
Browse files

Update GD.php

  • Loading branch information...
1 parent 4fc6cfc commit d1d04703237c8865be9111cbe961fa9de37b180c @adrianbj adrianbj committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 Image/Canvas/GD.php
View
4 Image/Canvas/GD.php
@@ -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.
Something went wrong with that request. Please try again.