diff options
Diffstat (limited to 'mod/profiles.php')
-rw-r--r-- | mod/profiles.php | 2 |
1 files changed, 0 insertions, 2 deletions
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', |