Little typo in commit 8b633ae

This commit is contained in:
Marcos García 2015-12-25 11:32:13 +01:00
parent c6093fff3e
commit da959c5cf0

View File

@ -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);