mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: - Move checking
This commit is contained in:
commit
ece7421864
1 changed files with 3 additions and 3 deletions
|
@ -1269,9 +1269,9 @@ SXE_METHOD(xpath)
|
|||
}
|
||||
if (!sxe->node) {
|
||||
php_libxml_increment_node_ptr((php_libxml_node_object *)sxe, xmlDocGetRootElement((xmlDocPtr) sxe->document->ptr), NULL TSRMLS_CC);
|
||||
}
|
||||
if (!sxe->node) {
|
||||
RETURN_FALSE;
|
||||
if (!sxe->node) {
|
||||
RETURN_FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
nodeptr = php_sxe_get_first_node(sxe, sxe->node->node TSRMLS_CC);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue