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
This commit is contained in:
2017-07-24 14:25:38 +00:00
parent 1be12b297f
commit ea8bbcf37b

View File

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