Uninitalized variable

svn path=/trunk/boinc/; revision=8397
This commit is contained in:
Bruce Allen 2005-10-01 17:17:00 +00:00
parent e0ec126c5d
commit c9f15ce395
1 changed files with 5 additions and 1 deletions

View File

@ -229,7 +229,11 @@ function process_create_results($user, $profile) {
$response1 = $_POST['response1'];
$response2 = $_POST['response2'];
$language = $_POST['language'];
$delete_pic = $_POST['delete_pic'];
if (isset($_POST['delete_pic'])) {
$delete_pic = $_POST['delete_pic'];
} else {
$delete_pic = "off";
}
if (strlen($response1)==0 &&
strlen($response2)==0 &&