Closed sandeepshetty closed 9 years ago
I think that correct is $source, not $string...
But yes, the conditional is... how to say? No make sense...
Maybe should be like: https://github.com/technosophos/querypath/blob/59fd8d48c9cc717cf21034079e69569e5577865b/src/QueryPath/DOMQuery.php#L3752
This is a duplicate of #143. If someone could issue a pull request, I'll merge it.
@technosophos here you go: https://github.com/technosophos/querypath/pull/148
I merged #148, so I am closing this.
$string
here is undefined. https://github.com/technosophos/querypath/blob/59fd8d48c9cc717cf21034079e69569e5577865b/src/QueryPath.php#L240Plus, the
if
and theelse
there are both doing the same thing?!What gives?