aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/convertors/functions_phpbb20.php
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2008-02-13 16:28:37 +0000
committerHenry Sudhof <kellanved@phpbb.com>2008-02-13 16:28:37 +0000
commitd7c5f502b4e0ef87a1d4a8d9a4fc16c79b3a5dc1 (patch)
tree522d22fa5bfe582f1ad18aabe3df62e8dc71c7da /phpBB/install/convertors/functions_phpbb20.php
parentbd31cb634d545edb0cf17e58962004d6830f3537 (diff)
downloadforums-d7c5f502b4e0ef87a1d4a8d9a4fc16c79b3a5dc1.tar
forums-d7c5f502b4e0ef87a1d4a8d9a4fc16c79b3a5dc1.tar.gz
forums-d7c5f502b4e0ef87a1d4a8d9a4fc16c79b3a5dc1.tar.bz2
forums-d7c5f502b4e0ef87a1d4a8d9a4fc16c79b3a5dc1.tar.xz
forums-d7c5f502b4e0ef87a1d4a8d9a4fc16c79b3a5dc1.zip
Fixing converter bugs.
#21215 #18575 #18435 #16565 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8379 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/convertors/functions_phpbb20.php')
-rw-r--r--phpBB/install/convertors/functions_phpbb20.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/install/convertors/functions_phpbb20.php b/phpBB/install/convertors/functions_phpbb20.php
index 1f62d80852..c4d421efee 100644
--- a/phpBB/install/convertors/functions_phpbb20.php
+++ b/phpBB/install/convertors/functions_phpbb20.php
@@ -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';
}