mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
"fix for bug #667: moving contacts to private addressbook does not work"
This commit is contained in:
parent
4a9fa4ef59
commit
81026357a6
@ -557,7 +557,7 @@ class uicontacts extends bocontacts
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default: // move to an other addressbook
|
default: // move to an other addressbook
|
||||||
if (!is_numeric($action) || !($this->grants[(string) (int) $action] & EGW_ACL_EDIT)) // might be ADD in the future
|
if (!(int)$action || !($this->grants[(string) (int) $action] & EGW_ACL_EDIT)) // might be ADD in the future
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user