From da959c5cf0eb02428e7dc46df6656cef84d59f9e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marcos=20Garc=C3=ADa?= <marcosgdf@gmail.com>
Date: Fri, 25 Dec 2015 11:32:13 +0100
Subject: [PATCH] Little typo in commit 8b633ae

---
 htdocs/compta/bank/rappro.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/compta/bank/rappro.php b/htdocs/compta/bank/rappro.php
index 3884891fb21..a2db7be0a93 100644
--- a/htdocs/compta/bank/rappro.php
+++ b/htdocs/compta/bank/rappro.php
@@ -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);
-- 
GitLab