Fix bad use of Tag contruct
This commit is contained in:
		
							parent
							
								
									313234edda
								
							
						
					
					
						commit
						bef89f3a98
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue