"fix for bug #667: moving contacts to private addressbook does not work"

This commit is contained in:
Ralf Becker 2007-05-03 13:04:29 +00:00
parent 4a9fa4ef59
commit 81026357a6

View File

@ -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;
} }