mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-22 05:49:03 +01:00
missing commit from: fix photo was lost when non-admin user edited own account
This commit is contained in:
parent
1cf9d2de44
commit
fcc00cff15
@ -971,7 +971,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