diff -r 9e9876afefcc -r 2f8c29fc5e2e inc/database.inc.php --- a/inc/database.inc.php Sat Jan 05 21:45:44 2008 +0000 +++ b/inc/database.inc.php Sun Jan 06 11:49:17 2008 +0000 @@ -37,6 +37,7 @@ $dsn = "$dbdsntype://$dbuser:$dbpass@$dbhost/$dbdatabase"; $db = MDB2::connect($dsn); +$db->setOption('portability', MDB2_PORTABILITY_ALL ^ MDB2_PORTABILITY_EMPTY_TO_NULL); if (MDB2::isError($db)) {