mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-19 15:01:33 +02:00
Fixing converter bugs.
#21215 #18575 #18435 #16565 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8379 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -455,7 +455,7 @@ function phpbb_get_birthday($birthday = '')
|
||||
{
|
||||
$birthday = (int) $birthday;
|
||||
|
||||
if (!$birthday || $birthday == 999999 || $birthday < 0)
|
||||
if (!$birthday || $birthday == 999999 || ((version_compare(PHP_VERSION, '5.1.0') < 0) && $birthday < 0))
|
||||
{
|
||||
return ' 0- 0- 0';
|
||||
}
|
||||
|
Reference in New Issue
Block a user