From e08abdd25259e8a2d8e4986a04e55ecd629f077d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Sun, 23 Dec 2007 13:17:20 +0000 Subject: #194946 by dmitrig01, Pasqualle: christmas cleanup (some code style issues fixed) --- modules/profile/profile.module | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'modules/profile') diff --git a/modules/profile/profile.module b/modules/profile/profile.module index 297d6c0ab..229dc91b5 100644 --- a/modules/profile/profile.module +++ b/modules/profile/profile.module @@ -266,13 +266,15 @@ function profile_view_field($user, $field) { // Note: Avoid PHP's date() because it does not handle dates before // 1970 on Windows. This would make the date field useless for e.g. // birthdays. - $replace = array('d' => sprintf('%02d', $value['day']), - 'j' => $value['day'], - 'm' => sprintf('%02d', $value['month']), - 'M' => map_month($value['month']), - 'Y' => $value['year'], - 'H:i' => NULL, - 'g:ia' => NULL); + $replace = array( + 'd' => sprintf('%02d', $value['day']), + 'j' => $value['day'], + 'm' => sprintf('%02d', $value['month']), + 'M' => map_month($value['month']), + 'Y' => $value['year'], + 'H:i' => NULL, + 'g:ia' => NULL, + ); return strtr($format, $replace); case 'list': $values = split("[,\n\r]", $value); -- cgit v1.2.3