Commit e7f1fc1a77e162240d015fb8be265b8964b74c5f

Authored by Péter Szládovics
2 parents 6d69f99f 97410a16

Merge branch 'master' of https://git.myonline.hu/pty/smbind-ng

Showing 1 changed file with 1 additions and 1 deletions
lib/smbind.class.php
@@ -257,7 +257,7 @@ @@ -257,7 +257,7 @@
257 $dbopt = array('persistent' => true,); 257 $dbopt = array('persistent' => true,);
258 $db = MDB2::factory($dsn, $dbopt); 258 $db = MDB2::factory($dsn, $dbopt);
259 if (MDB2::isError($db)) { 259 if (MDB2::isError($db)) {
260 - die("Database error: " . MDB2::errorMessage($dbconnect)); 260 + die("Database error: " . MDB2::errorMessage($db));
261 } else { 261 } else {
262 $db->setFetchMode(MDB2_FETCHMODE_ASSOC); 262 $db->setFetchMode(MDB2_FETCHMODE_ASSOC);
263 } 263 }