| Subject: | Found some bugs that should be... |  
| Summary: | Package rating comment |  
| Messages: | 3 |  
| Author: | Ryan Naddy |  
| Date: | 2010-02-03 18:32:50 |  
| Update: | 2013-05-05 15:16:28 |  
|   |  
 
 | 
 | 
Ryan Naddy rated this package as follows:
| Utility:  | Good | 
| Consistency:  | Good | 
| Examples:  | Good | 
| 
 | 
  Ryan Naddy - 2010-02-03 18:32:50  
Found some bugs that should be fixed, on line 214 (I believe) $matches sometimes returns 0, an if/else statement needs to be added, same with the following $matches. These can all be found in the _parseHtml method. 
 
I did the following to fix the problem: 
 
if(count($matches) > 0) 
	$head=$matches[1]; 
else 
	$head=''; 
 
 
 
if(count($matches) > 0) 
	$this->title = $matches[1]; 
else 
	$this->title = ''; 
  
  Syed Naveed Hasan - 2011-09-22 06:12:38 -  In reply to message 1 from Ryan Naddy 
Thanks Ryan, this helped a lot. 
  
  Shuvo Ahmed - 2013-05-05 15:16:28 -  In reply to message 1 from Ryan Naddy 
Thank it's huge help!!! 
But it shows output in a html file. Does not start download a word file like pdf. 
  
   |