badaozhai / phpquery

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

Problem z spacją #164

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Problem z :
foreach($this->text['file , *[file]'] as $element)

W wyniku dostaje:

Warning: DOMXPath::query() [domxpath.query]: Invalid expression in 
D:\wamp\www\Xvweb\core\libraries\phpQuery\phpQuery.php on line 1764

Warning: DOMXPath::query() [domxpath.query]: Invalid expression in 
D:\wamp\www\Xvweb\core\libraries\phpQuery\phpQuery.php on line 1764

Warning: Invalid argument supplied for foreach() in 
D:\wamp\www\Xvweb\core\libraries\phpQuery\phpQuery.php on line 1769

Chodzi o spację:
file (<-- ta spacja), *[file]

Original issue reported on code.google.com by KBord...@gmail.com on 2 Jan 2011 at 6:28

GoogleCodeExporter commented 9 years ago
Fixed code: 
http://code.google.com/p/xvweb/source/browse/trunk/%20xvweb/core/libraries/phpQu
ery/phpQuery.php

Original comment by KBord...@gmail.com on 13 Feb 2011 at 12:02