diff options
| author | Andrey Hristov <andrey@php.net> | 1999-06-09 21:21:27 +0000 |
|---|---|---|
| committer | Andrey Hristov <andrey@php.net> | 1999-06-09 21:21:27 +0000 |
| commit | b331ead5bf2b46c8b0511ccf88dcea57f6f45680 (patch) | |
| tree | 2cecdfa46862184235a401738eb24351c147e09f /ext/pcre | |
| parent | 3d45dd58b87b847271bdf483f7ead1db5465f86d (diff) | |
| download | php-git-b331ead5bf2b46c8b0511ccf88dcea57f6f45680.tar.gz | |
A fix for a fix.
Diffstat (limited to 'ext/pcre')
| -rw-r--r-- | ext/pcre/pcre.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/pcre.c b/ext/pcre/pcre.c index 39662be2ec..e880e53cac 100644 --- a/ext/pcre/pcre.c +++ b/ext/pcre/pcre.c @@ -831,7 +831,7 @@ PHP_FUNCTION(preg_split) else { /* if no match */ /* Add the last piece to the return value, if there is something left */ - if (limit != 0) + if (limit_val != 0) add_next_index_stringl(return_value, piece, subject_end-piece, 1); |
