Fix bad use of Tag contruct

Este commit está contenido en:
Sébastien Lucas 2014-06-03 22:38:23 +02:00
padre 313234edda
commit bef89f3a98
Se han modificado 1 ficheros con 1 adiciones y 1 borrados

Ver fichero

@ -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;