From: Sterling Hughes Date: Tue, 4 Sep 2001 10:13:55 +0000 (+0000) Subject: Thanks sebastian X-Git-Tag: PRE_SUBST_Z_MACROS~232 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38cacba117b2f835582ff1bf965a73a8371ecd55;p=php Thanks sebastian # I really like this whole qa team thingy --- diff --git a/ext/standard/string.c b/ext/standard/string.c index 2b1a18c42e..7fa3a4999f 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -1627,7 +1627,7 @@ PHP_FUNCTION(substr) WRONG_PARAM_COUNT; } convert_to_string_ex(str); - convert_to_string_ex(from); + convert_to_long_ex(from); if (argc > 2) { convert_to_long_ex(len);