Show
Ignore:
Timestamp:
04/05/07 16:14:36 (16 years ago)
Author:
exi
Message:

Fixed a bug belonging to the new mysql version code.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/includes/db.php

    r201 r202  
    1515// get mysql server info and store it in a define so we know if its 
    1616// safe to use subquerys or not 
    17 $value = (float)mysql_get_server_info(); 
     17$conn = new DBConnection; 
     18$value = (float)mysql_get_server_info($conn->id_); 
    1819if ($value > 4.1) 
    1920{