Browse Source

gender will be updated in the profiles as well.

pull/1318/head
Michael Vogel 7 years ago
parent
commit
105d6a22a4
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      mod/profiles.php

+ 2
- 1
mod/profiles.php View File

@ -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())
);


Loading…
Cancel
Save