View Issue Details

IDProjectCategoryView StatusLast Update
0005092mantisbtsponsorshipspublic2005-04-18 10:31
Reporterguideweb Assigned Tothraxisp  
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionfixed 
Fixed in Version1.0.0a1 
Summary0005092: Users sponsoring bug
Description

When we enter text in "Users sponsoring this issue" into bug view

all the data is erased and sponsoring restart at (0).

Solution 1 (better):
if(!is_int($number) AND (!is_float($number))
{ Show error }

Solution 2:
if($number != (float)$number)
{ Show error }

Additional Information

1.Add any value into "Users sponsoring this issue" (10$)
2.Press sponsor

3.After add a word (test)
4.Press sponsor

TagsNo tags attached.

Activities

thraxisp

thraxisp

2005-01-11 19:01

reporter   ~0008959

This highlights an underlying problem. gpc_get_int just coerces the input to an integer rather than checking that it is an integer and flagging an error.

thraxisp

thraxisp

2005-01-11 20:45

reporter   ~0008962

Fixed in CVS.