Browse Source

Fix bad use of Tag contruct

master
Sébastien Lucas 10 years ago
parent
commit
bef89f3a98
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      book.php

+ 1
- 1
book.php View File

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


Loading…
Cancel
Save