]> granicus.if.org Git - php/commitdiff
Fixed compile error
authorJaroslaw Kolakowski <jarkol@php.net>
Mon, 4 Feb 2002 21:07:39 +0000 (21:07 +0000)
committerJaroslaw Kolakowski <jarkol@php.net>
Mon, 4 Feb 2002 21:07:39 +0000 (21:07 +0000)
ext/domxml/php_domxml.c

index c26131162d17b6fa32156a604b01505e3b7d4a2d..a4f96149ff407eda8e96a47a3d1eef0e99166128 100644 (file)
@@ -3469,10 +3469,10 @@ static char *php_domxslt_string_to_xpathexpr(const char *str)
 {
        const xmlChar *string = (const xmlChar *)str;
 
-       TSRMLS_FETCH();
-       
        xmlChar *value;
 
+       TSRMLS_FETCH();
+       
         if (xmlStrchr(string, '"')) {
                if (xmlStrchr(string, '\'')) {
                        php_error(E_WARNING, "Cannot create XPath expression (string contains both quote and double-quotes) in %s",