From 81026357a65fa7c452fa61b75fcee4aca471b516 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 3 May 2007 13:04:29 +0000 Subject: [PATCH] "fix for bug #667: moving contacts to private addressbook does not work" --- addressbook/inc/class.uicontacts.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.uicontacts.inc.php b/addressbook/inc/class.uicontacts.inc.php index c583291015..84e80e6a5c 100644 --- a/addressbook/inc/class.uicontacts.inc.php +++ b/addressbook/inc/class.uicontacts.inc.php @@ -557,7 +557,7 @@ class uicontacts extends bocontacts break; 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; }