View Single Post
  #19  
Old 04-25-2017, 08:52 PM
KatFennec's Avatar
KatFennec KatFennec is offline
Member
 
Join Date: Apr 2017
Posts: 57
Gender: Female
Credits: 10,869
KatFennec is on a distinguished road
Default

In an attempt to confirm my findings, I attempted to create a module to return the FavPetID.
PHP Code:
$profile $mysidia->user->getprofile();
$owned = new OwnedAdoptable($profile->getFavpetID());
$profile->getFavpetID();
$uniqueidforpet $profile->getFavpetID();
$texta = new Paragraph;
$texta->add(new Comment("
<br>
ID: 
{$profile->getFavpetID()}
"
));
$moduleContainer->add($texta); 
Placed in a module, it correctly returned my favourite pet, but when I set it to none caused the site to return a 500 error
Reply With Quote