mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
Update register.php
This commit is contained in:
parent
47c1c66558
commit
c98c45ffe6
1 changed files with 1 additions and 0 deletions
|
@ -142,6 +142,7 @@ switch ($mode) {
|
|||
if (!$pr_data = DB()->fetch_row($sql)) {
|
||||
bb_die($lang['PROFILE_NOT_FOUND']);
|
||||
}
|
||||
$pr_data['user_birthday'] = $pr_data['user_birthday']->format('Y-m-d');
|
||||
if (IN_DEMO_MODE && isset($_COOKIE['user_lang'])) {
|
||||
$pr_data['user_lang'] = $_COOKIE['user_lang'];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue