• Welcome to ForumKorner!
    Join today and become a part of the community.

Error in points

Status
Not open for further replies.

yahya

Member
Reputation
0
When i went to
Code:
http://www.marketforums.org/newpoints.php
It said:
 
Reputation
0
Already been discussed.

I'd assume the fix for this is to wrap the the first paramater passed into number_format on line 356 in a floatval() function.

Pseudocode:
Code:
number_format(floatval($the_number_that_wants_to_be_a_string));

This would force PHP to process the apparantly passed string as a double (or float).

I haven't tested this, I'm just making an educated assumption.
 

LMCampbell

User is banned.
Reputation
0
Crayo said:
I'll try get on it today, I'm hesitant to touch it because one mistake and everyone's points are history.

You could always backup everyone's points.
It is a function that Newoints supply
 
Status
Not open for further replies.