Commit e7f1fc1a77e162240d015fb8be265b8964b74c5f
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 | 257 | $dbopt = array('persistent' => true,); |
258 | 258 | $db = MDB2::factory($dsn, $dbopt); |
259 | 259 | if (MDB2::isError($db)) { |
260 | - die("Database error: " . MDB2::errorMessage($dbconnect)); | |
260 | + die("Database error: " . MDB2::errorMessage($db)); | |
261 | 261 | } else { |
262 | 262 | $db->setFetchMode(MDB2_FETCHMODE_ASSOC); |
263 | 263 | } | ... | ... |