This commit is contained in:
pty 2015-12-30 12:05:48 +01:00
commit e7f1fc1a77
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@
$dbopt = array('persistent' => true,);
$db = MDB2::factory($dsn, $dbopt);
if (MDB2::isError($db)) {
die("Database error: " . MDB2::errorMessage($dbconnect));
die("Database error: " . MDB2::errorMessage($db));
} else {
$db->setFetchMode(MDB2_FETCHMODE_ASSOC);
}