WeBid Bug Tracking

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000049WeBidAdmin Control Panelpublic2009-09-22 12:512009-09-24 13:20
Reporterdreadyx 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version0.8.0 
Target VersionFixed in Version0.8.1 
Summary0000049: auction fees will not save below 1 euro
Descriptionauction fees will not save below 1 euro,



If I for example choose the highlight fee and set it to 0,5 euro and press save it changes back to 0,00 euro, this is happening to all the different fees.



After some looking it seems the fees do not work with numbers behind the comma , so 0,5 or 1,5 does not work.



Hope you understand me :) ( not native english speaking)
TagsNo tags attached.
import_id49
Thread
Attached Files

- Relationships

-  Notes
(0000153)
renlok (administrator)
2009-09-22 14:00
edited on: 1970-01-01 00:00

ok in fees.php find
$query = "UPDATE " . $DBPrefix . "fees SET value = '" . $_POST['value'] . "' WHERE type = '" . $_GET['type'] . "'";

and replace with
$query = "UPDATE " . $DBPrefix . "fees SET value = '" . $system->input_money($_POST['value']) . "' WHERE type = '" . $_GET['type'] . "'";


then find
$query = "UPDATE " . $DBPrefix . "fees SET
                        fee_from = '" . $_POST['fee_from'][$i] . "',
                        fee_to = '" . $_POST['fee_to'][$i] . "',
                        value = '" . $_POST['value'][$i] . "',
                        fee_type = '" . $_POST['type'][$i] . "'
                        WHERE id = " . $_POST['tier_id'][$i];

and replace with
$value = $_POST['value'][$i];
                if ($_POST['type'][$i] == 'flat')
                {
                    $value = $system->input_money($value);
                }
                $query = "UPDATE " . $DBPrefix . "fees SET
                        fee_from = '" . $system->input_money($_POST['fee_from'][$i]) . "',
                        fee_to = '" . $system->input_money($_POST['fee_to'][$i]) . "',
                        value = '" . $value . "',
                        fee_type = '" . $_POST['type'][$i] . "'
                        WHERE id = " . $_POST['tier_id'][$i];
(0000162)
dreadyx (reporter)
2009-09-23 15:52
edited on: 1970-01-01 00:00

Is it me but the code you ask to replace, I cannot seem to find it in fees.php??
(0000163)
dreadyx (reporter)
2009-09-23 16:07
edited on: 1970-01-01 00:00

Ignore previous message, it is found in functions_fees.php (inculdes)
(0000164)
dreadyx (reporter)
2009-09-23 16:26
edited on: 2009-09-23 16:36

Seems I'm wrong, cannot find it in fees.php..... or functions_fees.php...

I'm such a noob, its fees.hph in admin you need :) !
(0000166)
renlok (administrator)
2009-09-24 13:20
edited on: 1970-01-01 00:00

oh yeah lol i should of said i forgot there was two fees.php pages

- Issue History
Date Modified Username Field Change
2015-04-01 13:17 renlok New Issue
2015-04-01 13:17 renlok import_id => 49
2015-04-01 13:17 renlok Date Submitted 2015-04-01 13:17 => 2009-09-22 12:51
2015-04-01 13:17 renlok Last Update 2015-04-01 13:17 => 2009-09-24 13:20


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker