BomAle Posted April 17, 2017 Share Posted April 17, 2017 When try to add new version if the last version is not that format n.n.n like 1.0.2 Beta 1 the code throw a expection. to fix I have edited: $defaults['human'] = "{$exploded[0]}.{$exploded[1]}." . ( $exploded[2] + 1 ); into $defaults['human'] = "{$exploded[0]}.{$exploded[1]}." . ( intval( $exploded[2] ) + 1 ); Link to comment Share on other sites More sharing options...
bfarber Posted April 17, 2017 Share Posted April 17, 2017 What version of PHP are you using? 7.1? Link to comment Share on other sites More sharing options...
BomAle Posted April 17, 2017 Author Share Posted April 17, 2017 yes Link to comment Share on other sites More sharing options...
bfarber Posted April 18, 2017 Share Posted April 18, 2017 It's already sorted for 4.2 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.