From c9f15ce395cfb2e2491d292e2db7fa416f6d9b39 Mon Sep 17 00:00:00 2001 From: Bruce Allen Date: Sat, 1 Oct 2005 17:17:00 +0000 Subject: [PATCH] Uninitalized variable svn path=/trunk/boinc/; revision=8397 --- html/inc/profile.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/html/inc/profile.inc b/html/inc/profile.inc index 4faf745351..18ca4453f9 100644 --- a/html/inc/profile.inc +++ b/html/inc/profile.inc @@ -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 &&