andrey Wed Oct 2 14:13:57 2002 EDT
Modified files:
/php4/ext/standard string.c
Log:
Ws fix. Forgot to add this in the previous commit.
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.301 php4/ext/standard/string.c:1.302
--- php4/ext/standard/string.c:1.301 Wed Oct 2 13:56:04 2002
+++ php4/ext/standard/string.c Wed Oct 2 14:13:56 2002
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.301 2002/10/02 17:56:04 andrey Exp $ */
+/* $Id: string.c,v 1.302 2002/10/02 18:13:56 andrey Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -450,10 +450,9 @@
convert_to_long_ex(item);
value = nl_langinfo(Z_LVAL_PP(item));
- if (value == NULL) {
+ if (value == NULL) {
RETURN_FALSE;
- }
- else {
+ } else {
RETURN_STRING(value, 1);
}
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php