]> granicus.if.org Git - php/commitdiff
Thanks sebastian
authorSterling Hughes <sterling@php.net>
Tue, 4 Sep 2001 10:13:55 +0000 (10:13 +0000)
committerSterling Hughes <sterling@php.net>
Tue, 4 Sep 2001 10:13:55 +0000 (10:13 +0000)
# I really like this whole qa team thingy

ext/standard/string.c

index 2b1a18c42e56b3fffcea3bcd182942765d87baa6..7fa3a4999f1e7ae5fdd22651398aebc7d600e258 100644 (file)
@@ -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);