People can take money using "donate"!

Forum
Last Post
Threads / Messages

Mantispony

Member
Member
Joined
Mar 10, 2011
Messages
10
Points
0
Mysidian Dollar
0
Apparently, if a user enters a negative amount in the "donate" thing, they actually TAKE money from you :catfish:

I noticed this when I got the message that I'd received a donation, and the amount was "-1000". I thought it was just a glitch, but then I checked my balance, and I was actually one minus a lot :madnoes:

Then I thought that might have been a glitch too, so I went and clicked an adoptable, to see if I gained cash. I did. I was then on minus a lot minus ten :colonzero:

..anyone know how to fix this?
 
umm interesting, I remember in Mys v1.2.0 the donate function was taken out. What version of Mysidia Adoptables are you using?
 
..I downloaded it a few weeks ago, I think? So that'll probably be the version before that? I don't know :|
 
Yeah, you probably have the Mys 1.1.x
However, you can prevent users from entering a negative amount.
PHP:
abs($int); // Returns the absolute value of number.
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,277
Messages
33,118
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Top