aboutsummaryrefslogtreecommitdiffstats
path: root/include/profile_advanced.php
diff options
context:
space:
mode:
authorSimon L'nu <simon.lnu@gmail.com>2012-05-28 16:49:12 -0400
committerSimon L'nu <simon.lnu@gmail.com>2012-05-28 16:49:12 -0400
commit91c1a2943badc32b521acd5cc933a236ca6f5c0f (patch)
tree712f5ca55e28314d4758ff7680b887a0cda1f24c /include/profile_advanced.php
parent24f5e6b3f3f1f29cce8923c38fbdfb24fa5ed5a5 (diff)
parent6962989e52f0ce442fbb3e59992eeb528faa12da (diff)
downloadvolse-hubzilla-91c1a2943badc32b521acd5cc933a236ca6f5c0f.tar.gz
volse-hubzilla-91c1a2943badc32b521acd5cc933a236ca6f5c0f.tar.bz2
volse-hubzilla-91c1a2943badc32b521acd5cc933a236ca6f5c0f.zip
Merge branch 'master', remote-tracking branch 'remotes/upstream/master'
* remotes/upstream/master: slackr - tone down the shadows a smidgin add plugin hooks to gender, sexpref, and marital selectors birthday in november,december bug rework the way private photos are embedded to avoid url differences and also check the permissions if possible to make sure that nothing sneaks by. handle multiple underscores in D* links * master:
Diffstat (limited to 'include/profile_advanced.php')
-rw-r--r--include/profile_advanced.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/profile_advanced.php b/include/profile_advanced.php
index bb9850cd0..8c2acd8e7 100644
--- a/include/profile_advanced.php
+++ b/include/profile_advanced.php
@@ -25,8 +25,8 @@ function advanced_profile(&$a) {
$val = ((intval($a->profile['dob']))
? day_translate(datetime_convert('UTC','UTC',$a->profile['dob'] . ' 00:00 +00:00',$year_bd_format))
- : day_translate(datetime_convert('UTC','UTC','2001-' . substr($a->profile['dob'],6) . ' 00:00 +00:00',$short_bd_format)));
-
+ : day_translate(datetime_convert('UTC','UTC','2001-' . substr($a->profile['dob'],5) . ' 00:00 +00:00',$short_bd_format)));
+
$profile['birthday'] = array( t('Birthday:'), $val);
}