summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2002-05-22 23:40:29 +0000
committerfoobar <sniper@php.net>2002-05-22 23:40:29 +0000
commitdc26e8d8f501e0bc37d8ac14be7d1e4bc3d922ea (patch)
tree87696a212d769678d73c15b00d563be114b4b115 /run-tests.php
parent19a5bcf297d5e5f8c974ba6cdbae03df51adf55f (diff)
downloadphp-git-dc26e8d8f501e0bc37d8ac14be7d1e4bc3d922ea.tar.gz
Skip POST data if it is empty.
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php2
1 files changed, 1 insertions, 1 deletions
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);