This commit is contained in:
Mike Macgirvin
2010-07-11 06:24:10 -07:00
parent 83dc89d859
commit 8e22178b8a
3 changed files with 3 additions and 3 deletions
-2
View File
@@ -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',