From 8e22178b8a135ccc315de1c9f305e81d97556709 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Sun, 11 Jul 2010 06:24:10 -0700 Subject: tweaks --- mod/profiles.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'mod') diff --git a/mod/profiles.php b/mod/profiles.php index 4bbfbb44c..208f8545e 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -63,8 +63,6 @@ function profiles_post(&$a) { $education = escape_tags(trim($_POST['education'])); if(x($_POST,'profile_in_directory')) $publish = (($_POST['profile_in_directory'] == 1) ? 1: 0); - if(! in_array($gender,array('','Male','Female','Other'))) - $gender = ''; $r = q("UPDATE `profile` SET `profile-name` = '%s', -- cgit v1.2.3