Huge rewrite of default parameters, ext-network continued:
[mailer.git] / inc / modules / member / what-mydata.php
index 3ae5495f1ff970340eda9e3f82eaa1a2d5ea618a..e6bd332db9912ea378ae57e7691c64b47980d32d 100644 (file)
@@ -89,8 +89,8 @@ switch ($mode) {
                        $content['change'] = loadTemplate('member_mydata_button', true);
                }
 
-               if (strlen($content['birth_day'])   == 1) $content['birth_day']   = 0 . $content['birth_day'];
-               if (strlen($content['birth_month']) == 1) $content['birth_month'] = 0 . $content['birth_month'];
+               if (strlen($content['birth_day'])   == 1) $content['birth_day']   = '0' . $content['birth_day'];
+               if (strlen($content['birth_month']) == 1) $content['birth_month'] = '0' . $content['birth_month'];
 
                switch (getLanguage()) {
                        case 'de': $content['dob'] = $content['birth_day']   . '.' . $content['birth_month'] . '.' . $content['birth_year']; break;