mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2024-11-10 17:26:48 +08:00
fix typo
This commit is contained in:
parent
b315e3dba1
commit
6f6fc05d16
1 changed files with 5 additions and 1 deletions
|
@ -103,7 +103,11 @@ if (empty($step)) {
|
|||
foreach ($updates as $version => $queries) {
|
||||
if (!in_array($version, $dones)) {
|
||||
foreach ($queries as $q) {
|
||||
$dbh->exec($q);
|
||||
try{
|
||||
$db->exec($q);
|
||||
}catch(PDOException $e){
|
||||
//ignore, it exists already
|
||||
}
|
||||
}
|
||||
$dones[] = $version;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue