dblayerauthzgroups : don't return the primary key field if it is added by the authorization process and not wanted by the user

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2271 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2015-08-21 12:56:47 +00:00
parent 3ad0a5d618
commit f653f938f8

View File

@@ -89,7 +89,7 @@ class dblayerauthzgroups extends dblayer
unset ($data[$key]); unset ($data[$key]);
} }
if ($this->primaryKeyAdded === true) if ($this->primaryKeyAdded === true)
unset ($line[$this->primary]); unset ($data[$key][$this->primary]);
} }
return $data; return $data;
} }