Commit 97410a1605b9952efb2cc101193de9ea6e34b500
1 parent
7d1b120b
Fixed undefined variable problem
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 | } | ... | ... |