There is indeed a value in for that adopt (and for all of them I've tested), but it simply will not show up (though it does show up when I re-visit that adopt so it loads the "you've already seen this pet today" page). I've even tried adding the function to the levelupview.php page. I'm having the same issue with displaying the "medals" with the levelupview.php file, as well. What's really odd is that I use {$adopt->getBirthday();} to show the adoptable's birth-date, and that shows up just fine, so I do not understand why {$adopt->getMagic();} isn't working, since they're both defined in all the same places, the same way in class_ownedadoptable.php:
PHP Code:
public function getBirthday(){
return $this->birthday;
}
public function getMagic(){
return $this->magic;
}
public function getMagicMedalStatus(){
return $this->magicmedalstatus;
}