Skip to content

Commit

Permalink
clean and update code
Browse files Browse the repository at this point in the history
  • Loading branch information
grandoc committed Jul 23, 2018
1 parent 365ed9c commit e755fde
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion htdocs/accountancy/customer/index.php
Expand Up @@ -89,7 +89,7 @@
if (! $resql1) {
$error ++;
$db->rollback();
setEventMessage($db->lasterror(), 'errors');
setEventMessages($db->lasterror(), null, 'errors');
} else {
$db->commit();
}
Expand Down
2 changes: 1 addition & 1 deletion htdocs/accountancy/expensereport/index.php
Expand Up @@ -86,7 +86,7 @@
if (! $resql1) {
$error ++;
$db->rollback();
setEventMessage($db->lasterror(), 'errors');
setEventMessages($db->lasterror(), null, 'errors');
} else {
$db->commit();
}
Expand Down
2 changes: 1 addition & 1 deletion htdocs/accountancy/supplier/index.php
Expand Up @@ -87,7 +87,7 @@
if (! $resql1) {
$error ++;
$db->rollback();
setEventMessage($db->lasterror(), 'errors');
setEventMessages($db->lasterror(), null, 'errors');
} else {
$db->commit();
}
Expand Down

0 comments on commit e755fde

Please sign in to comment.