From 6fa55579948f0d6fa12a301ddd33baae49240a73 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Mon, 9 Aug 2010 22:58:58 -0700 Subject: post branch fixes --- mod/profiles.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mod/profiles.php') 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'])); -- cgit v1.2.3