Little typo in commit 8b633ae
This commit is contained in:
parent
c6093fff3e
commit
da959c5cf0
@ -100,7 +100,7 @@ if ($action == 'del')
|
||||
{
|
||||
$bankline=new AccountLine($db);
|
||||
|
||||
if ($bankline->fetch($_GET["rowid"]) > 1) {
|
||||
if ($bankline->fetch($_GET["rowid"]) > 0) {
|
||||
$result = $bankline->delete($user);
|
||||
if ($result < 0) {
|
||||
dol_print_error($db, $bankline->error);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user