From ea8bbcf37bf56bc89731cbbf6ab0823d4bc80047 Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Mon, 24 Jul 2017 14:25:38 +0000 Subject: [PATCH] dblayeroo: UPDATE should not verify if the unique are not modified git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3824 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- dblayeroo.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dblayeroo.php b/dblayeroo.php index 72bc971..452c222 100644 --- a/dblayeroo.php +++ b/dblayeroo.php @@ -2558,9 +2558,10 @@ class dblayeroo $objTmp->limitLines (3); $resUpdate = $objTmp->execute (); unset ($objTmp); - if (count ($resUpdate) > 1) +/* if (count ($resUpdate) > 1) $this->DBException (sprintf (dgettext ("domframework", "Can't update multiple rows with unique value"), $columns)); +*/ if (count ($resUpdate) === 0) { // There is no row available with the WHERE clause provided