![]() |
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 Edit: I fixed it XD With one minor change! From: Code:
if ($this->userfavpet == "0"){ Code:
if ($this->userfavpet == "0" or $this->userfavpet == ""){ |
All times are GMT -5. The time now is 10:09 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.