View Single Post
  #11  
Old 01-19-2015, 02:16 AM
MikiHeart's Avatar
MikiHeart MikiHeart is offline
Premium Member
 
Join Date: Apr 2009
Posts: 187
Gender: Female
Credits: 26,857
MikiHeart
Default

Hey, a little update on the script I was working on. If the user updates their profile, and select no pet, it becomes set to 0, this this happens:

Code:
Fatal error: Uncaught exception 'AdoptNotfoundException' with message 'Adoptable ID 0 does not exist or does not belong to the owner specified...' in C:\wamp\www\micronoms\classes\class_ownedadoptable.php on line 26
( ! ) AdoptNotfoundException: Adoptable ID 0 does not exist or does not belong to the owner specified... in C:\wamp\www\micronoms\classes\class_ownedadoptable.php on line 26
I'll do some more work on it.

Edit:

I fixed it XD With one minor change!

From:
Code:
if ($this->userfavpet == "0"){
To:
Code:
if ($this->userfavpet == "0" or $this->userfavpet == ""){
Reply With Quote