BomAle Posted April 17, 2017 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 );
Recommended Posts
Archived
This topic is now archived and is closed to further replies.