Skip to content
Snippets Groups Projects
Commit 68ee4829 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #4293 from marcosgdf/patch-2

Little typo in commit 8b633aee
parents c6093fff da959c5c
No related branches found
No related tags found
No related merge requests found
...@@ -100,7 +100,7 @@ if ($action == 'del') ...@@ -100,7 +100,7 @@ if ($action == 'del')
{ {
$bankline=new AccountLine($db); $bankline=new AccountLine($db);
if ($bankline->fetch($_GET["rowid"]) > 1) { if ($bankline->fetch($_GET["rowid"]) > 0) {
$result = $bankline->delete($user); $result = $bankline->delete($user);
if ($result < 0) { if ($result < 0) {
dol_print_error($db, $bankline->error); dol_print_error($db, $bankline->error);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment