aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profiles.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-08-09 22:58:58 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-08-09 22:58:58 -0700
commit6fa55579948f0d6fa12a301ddd33baae49240a73 (patch)
treec87a5550be5ab64462f944ace4a8a2adfc345aa8 /mod/profiles.php
parentd11c1c63c02e88b3c73336741a2240ccc18d3b02 (diff)
downloadvolse-hubzilla-6fa55579948f0d6fa12a301ddd33baae49240a73.tar.gz
volse-hubzilla-6fa55579948f0d6fa12a301ddd33baae49240a73.tar.bz2
volse-hubzilla-6fa55579948f0d6fa12a301ddd33baae49240a73.zip
post branch fixes
Diffstat (limited to 'mod/profiles.php')
-rw-r--r--mod/profiles.php4
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']));