View Issue Details

IDProjectCategoryView StatusLast Update
0004760mantisbtadministrationpublic2004-11-06 06:00
ReporterThox Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.18.0a1 
Fixed in Version0.19.1 
Summary0004760: version_is_unique() called with wrong parameters
Description

version_is_unique() is called with the wrong paremeters when adding a new version to an existing project. This has been wrong since the function was created.

The two parameters are swapped.

TagsNo tags attached.
Attached Files
patch.diff (134 bytes)   
44c44
< 		if ( version_is_unique( $f_project_id, $t_version ) ) {
---
> 		if ( version_is_unique( $t_version, $f_project_id ) ) {
patch.diff (134 bytes)   

Relationships

child of 0004297 closedvboctor Mantis 0.19.1 release 

Activities

Thox

Thox

2004-10-22 06:18

reporter   ~0008134

The attached patch is a fix for manage_proj_ver_add.php, which is the only file with the incorrect parameters.

Patch created from latest CVS HEAD.