X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fprofiles.php;h=208f8545e3a6c7c7b609a19794e06c44ceacea0a;hb=9b0584e59338f0b75c6b8a9a1b5def33da5de5f6;hp=4bbfbb44cbc7f047854086b670b31065da4edc39;hpb=7a21a000a2b02e7dd443fd0f3ee09172de825b08;p=friendica.git diff --git a/mod/profiles.php b/mod/profiles.php index 4bbfbb44cb..208f8545e3 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',