@ -210,7 +210,7 @@ class User extends DbMapping
public function hasWish($noticeId)
{
foreach ($this->getWishes() as $book) {
if ($book->id == $noticeId) {
if ($book['id'] == $noticeId) {
return true;
}