inc/database.inc.php
changeset 67 2f8c29fc5e2e
parent 55 a885f557678f
child 71 e1b918eaf69a
--- 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))
 {