awci / phpquery

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

typo in line 517 #231

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
in phpQuery.php line 517 you have

if (strpos($hltml, '<html') === false) {

I get:
Notice: Undefined variable: hltml in /path/phpQuery.php on line 517

I think this is a typo, should be

if (strpos($html, '<html') === false) {

making this change got my script to work properly 

Original issue reported on code.google.com by kooli.il...@gmail.com on 13 Aug 2013 at 6:37