forked from extern/egroupware
Changed the version check to compare against the string rather than the number.
This commit is contained in:
parent
cf031d14bc
commit
301b5268d3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user