diff options
Diffstat (limited to 'mod/profiles.php')
-rw-r--r-- | mod/profiles.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/profiles.php b/mod/profiles.php index bfdff5f6b..850a4b8ce 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -52,7 +52,11 @@ function profiles_post(&$a) { $region = notags(trim($_POST['region'])); $postal_code = notags(trim($_POST['postal_code'])); $country_name = notags(trim($_POST['country_name'])); + $marital = notags(trim(implode(', ',$_POST['marital']))); + if($marital != $orig[0]['marital']) + $maritalchanged = true; + $sexual = notags(trim($_POST['sexual'])); $homepage = notags(trim($_POST['homepage'])); $politic = notags(trim($_POST['politic'])); |