Fix bad use of Tag contruct

This commit is contained in:
Sébastien Lucas 2014-06-03 22:38:23 +02:00
부모 313234edda
커밋 bef89f3a98
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

@ -187,7 +187,7 @@ class Book extends Base {
$result->execute (array ($this->id));
while ($post = $result->fetchObject ())
{
array_push ($this->tags, new Tag ($post->id, $post->name));
array_push ($this->tags, new Tag ($post));
}
}
return $this->tags;