From dc26e8d8f501e0bc37d8ac14be7d1e4bc3d922ea Mon Sep 17 00:00:00 2001 From: foobar Date: Wed, 22 May 2002 23:40:29 +0000 Subject: [PATCH] Skip POST data if it is empty. --- run-tests.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-tests.php b/run-tests.php index dbec5ae6d1..697de2460e 100755 --- a/run-tests.php +++ b/run-tests.php @@ -335,7 +335,7 @@ TEST $file putenv("PATH_TRANSLATED=$tmp_file"); putenv("SCRIPT_FILENAME=$tmp_file"); - if (isset($section_text['POST'])) { + if (!empty($section_text['POST'])) { $post = trim($section_text['POST']); save_text($tmp_post,$post); -- 2.40.0