mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
missing commit from: fix photo was lost when non-admin user edited own account
This commit is contained in:
parent
6e6137cdcb
commit
f8c7c23bbf
@ -970,7 +970,7 @@ class Contacts extends Contacts\Storage
|
||||
{
|
||||
foreach(array_keys($contact) as $field)
|
||||
{
|
||||
if (!in_array($field,$this->own_account_acl) && !in_array($field,array('id','owner','account_id','modified','modifier')))
|
||||
if (!in_array($field,$this->own_account_acl) && !in_array($field,array('id','owner','account_id','modified','modifier', 'photo_unchanged')))
|
||||
{
|
||||
// user is not allowed to change that
|
||||
if ($old)
|
||||
|
Loading…
Reference in New Issue
Block a user