Merge pull request #4293 from marcosgdf/patch-2

Little typo in commit 8b633ae
This commit is contained in:
Laurent Destailleur 2015-12-27 17:32:02 +01:00
commit 68ee482915

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