cvs: php4 / run-tests.php

From: Date: Wed, 22 May 2002 23:40:29 +0000
Subject: cvs: php4 / run-tests.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-12055@lists.php.net to get a copy of this message
sniper Wed May 22 19:40:29 2002 EDT Modified files: /php4 run-tests.php Log: Skip POST data if it is empty. Index: php4/run-tests.php diff -u php4/run-tests.php:1.47 php4/run-tests.php:1.48 --- php4/run-tests.php:1.47 Sun May 19 10:48:27 2002 +++ php4/run-tests.php Wed May 22 19:40:29 2002 @@ -335,7 +335,7 @@ 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);

« previous php.cvs (#12055) next »