diff --git a/mod/profiles.php b/mod/profiles.php index a0f10fb95..e71a4c603 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -485,10 +485,11 @@ function profiles_post(&$a) { if($is_default) { - $r = q("UPDATE `contact` SET `about` = '%s', `location` = '%s', `keywords` = '%s' WHERE `self` = 1 AND `uid` = %d", + $r = q("UPDATE `contact` SET `about` = '%s', `location` = '%s', `keywords` = '%s', `gender` = '%s' WHERE `self` = 1 AND `uid` = %d", dbesc($about), dbesc($locality), dbesc($pub_keywords), + dbesc($gender), intval(local_user()) );