aboutsummaryrefslogtreecommitdiffstats
path: root/include/profile_advanced.php
diff options
context:
space:
mode:
authorzottel <github@zottel.net>2012-05-30 11:08:02 +0200
committerzottel <github@zottel.net>2012-05-30 11:08:02 +0200
commit24b58af68938558baa2ddc6809401ec528ff1176 (patch)
tree4347cab04767aafe7b5567d68539e666284fa3cc /include/profile_advanced.php
parent36d6018c110fca190b720c5ff27883c2d4ed70c3 (diff)
parent88a0d6a1d53a93fa0d43591f85b72a8a72c13d53 (diff)
downloadvolse-hubzilla-24b58af68938558baa2ddc6809401ec528ff1176.tar.gz
volse-hubzilla-24b58af68938558baa2ddc6809401ec528ff1176.tar.bz2
volse-hubzilla-24b58af68938558baa2ddc6809401ec528ff1176.zip
Merge remote branch 'upstream/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);
}