From 4e884eda9a229599e35b67e97f5f9caa93b2cd26 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 10 Sep 2006 06:40:56 +0000 Subject: [PATCH] fixed problem with php4.3.2 (negative integer as index) --- 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 aff0830977..5396f4cd99 100644 --- a/addressbook/inc/class.uicontacts.inc.php +++ b/addressbook/inc/class.uicontacts.inc.php @@ -368,7 +368,7 @@ class uicontacts extends bocontacts break; default: // move to an other addressbook - if (!is_numeric($action) || !($this->grants[(int) $action] & EGW_ACL_EDIT)) // might be ADD in the future + if (!is_numeric($action) || !($this->grants[(string) (int) $action] & EGW_ACL_EDIT)) // might be ADD in the future { return false; }