mirror of
https://github.com/php/php-src.git
synced 2024-09-23 02:47:26 +00:00
Fixed compile error
This commit is contained in:
parent
8535164f21
commit
176a426b2e
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user