diff --git a/admin/donors.php b/admin/donors.php index 3078a05..0f60df3 100644 --- a/admin/donors.php +++ b/admin/donors.php @@ -131,15 +131,12 @@ function save_contact(){ $successMessage = i18n("Contact created successfully"); $u = user_create("sponsor", $_POST['email']); $id = $u['id']; - - }else if($_POST['recordtype'] == 'existing'){ // this is an existing record being updated. Load the user. $successMessage = i18n("Contact updated successfully"); $u = user_load($_POST['userid']); $id = intval($_POST['userid']); - } $sponsor_id = $_POST['sponsor_id']; @@ -331,7 +328,7 @@ function draw_activityinfo_form(){