Skip to content

Commit b79b036

Browse files
committed
The test self should be fixed(maybe relates to env?)
Revert "Fixed test ext/readline/tests/readline_read_history_error_001.phpt" This reverts commit 69e26f9.
1 parent d0b3a72 commit b79b036

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/readline/readline.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ PHP_FUNCTION(readline_read_history)
402402
return;
403403
}
404404

405-
if (!arg || php_check_open_basedir(arg) != 0) {
405+
if (arg && php_check_open_basedir(arg)) {
406406
RETURN_FALSE;
407407
}
408408

0 commit comments

Comments
 (0)