Fix bad use of Tag contruct
Этот коммит содержится в:
родитель
313234edda
Коммит
bef89f3a98
2
book.php
2
book.php
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче