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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user