From 301b5268d3ea1a6e4b816e31998d38468b85e3ae Mon Sep 17 00:00:00 2001 From: skeeter Date: Sun, 7 Apr 2002 19:58:57 +0000 Subject: [PATCH] Changed the version check to compare against the string rather than the number. --- phpgwapi/setup/tables_current.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/setup/tables_current.inc.php b/phpgwapi/setup/tables_current.inc.php index 3cb52b08c5..7cf3b0dbce 100644 --- a/phpgwapi/setup/tables_current.inc.php +++ b/phpgwapi/setup/tables_current.inc.php @@ -353,7 +353,7 @@ ); /* Try to fix this unfortunate case for mysql 3.22.X in php4 at least */ - if(phpversion() >= 4.0.5 && @$GLOBALS['phpgw_setup']->db->Type == 'mysql') + if(phpversion() >= '4.0.5' && @$GLOBALS['phpgw_setup']->db->Type == 'mysql') { $_ver_str = @mysql_get_server_info(); $_ver_arr = explode(".",$_ver_str);