mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
Ws fix. Forgot to add this in the previous commit.
This commit is contained in:
parent
f02b1507dc
commit
b2d93b67fc
1 changed files with 2 additions and 3 deletions
|
@ -450,10 +450,9 @@ PHP_FUNCTION(nl_langinfo)
|
||||||
convert_to_long_ex(item);
|
convert_to_long_ex(item);
|
||||||
|
|
||||||
value = nl_langinfo(Z_LVAL_PP(item));
|
value = nl_langinfo(Z_LVAL_PP(item));
|
||||||
if (value == NULL) {
|
if (value == NULL) {
|
||||||
RETURN_FALSE;
|
RETURN_FALSE;
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
RETURN_STRING(value, 1);
|
RETURN_STRING(value, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue