diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2009-01-22 14:40:20 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2009-01-22 14:40:20 +0000 |
commit | ea61c335e45fd2ccd8dd46dbe08a210987ec997e (patch) | |
tree | aa1d0496d4350fbcf8cd695dd84985cce6a452c3 | |
parent | 163fedcd616c3dceede19d1cc4ad50f05026a577 (diff) | |
download | php-git-ea61c335e45fd2ccd8dd46dbe08a210987ec997e.tar.gz |
Fixed execution condition
-rw-r--r-- | ext/readline/readline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/readline/readline.c b/ext/readline/readline.c index 14598f007e..f27ce606ac 100644 --- a/ext/readline/readline.c +++ b/ext/readline/readline.c @@ -225,7 +225,7 @@ PHP_FUNCTION(readline_info) return; } - if (what) { + if (!what) { array_init(return_value); add_assoc_string(return_value,"line_buffer",SAFE_STRING(rl_line_buffer),1); add_assoc_long(return_value,"point",rl_point); |