Jump to content

Plugin addVersion


BomAle

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...