Missing ! : not test of existing key in an array before update in dblayer
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1412 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -331,7 +331,7 @@ class dblayer extends PDO
|
||||
}
|
||||
else
|
||||
{
|
||||
if (array_key_exists ($columns, $datasOK)) continue;
|
||||
if (!array_key_exists ($columns, $datasOK)) continue;
|
||||
$select = array ();
|
||||
if ($columns !== $this->primary)
|
||||
$select[] = array ($this->primary, $updatekey, "!=");
|
||||
|
||||
Reference in New Issue
Block a user