Ws fix. Forgot to add this in the previous commit.

This commit is contained in:
Andrey Hristov 2002-10-02 18:13:56 +00:00
parent f02b1507dc
commit b2d93b67fc

View file

@ -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);
} }
} }