mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
Check user_dateformat against '' was messing up sourceforge so I changed it to an
if($userdata[user_dateformat]) insted. git-svn-id: file:///svn/phpbb/trunk@442 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -215,7 +215,7 @@ function init_userprefs($userdata)
|
|||||||
{
|
{
|
||||||
$board_config['default_lang'] = $userdata['user_lang'];
|
$board_config['default_lang'] = $userdata['user_lang'];
|
||||||
}
|
}
|
||||||
if($userdata['user_dateformat'] != '')
|
if($userdata['user_dateformat'])
|
||||||
{
|
{
|
||||||
$board_config['default_dateformat'] = $userdata['user_dateformat'];
|
$board_config['default_dateformat'] = $userdata['user_dateformat'];
|
||||||
}
|
}
|
||||||
@@ -408,4 +408,4 @@ function generate_pagination($base_url, $num_items, $per_page, $start_item, $add
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Reference in New Issue
Block a user