thagenbeek / phpquery

Automatically exported from code.google.com/p/phpquery
0 stars 0 forks source link

Notice: Undefined variable: hltml in [cut]/phpQuery.php on line 517 #139

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. downloaded phpQuery-0.9.5.386-onefile.zip
2. included in mproject
3. executed phpQuery::newDocument($some_ripped_html_from_www);

What is the expected output? What do you see instead?
- the Notice appears, saying hltml is not defined.

What version of the product are you using? On what operating system?
- 0.9.5.386

Please provide any additional information below.
- it's a typo, fixed myself putting html in place of hltml on the line 517:
:: if (strpos($hltml, '<html') === false) {
->
:: if (strpos($html, '<html') === false) {

Original issue reported on code.google.com by ban...@gmail.com on 25 Nov 2009 at 2:57

GoogleCodeExporter commented 9 years ago
Duplicate of Issue 132.

Original comment by tobiasz....@gmail.com on 25 Nov 2009 at 10:09