mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:49:10 +01:00
fixed problem with php4.3.2 (negative integer as index)
This commit is contained in:
parent
c57dadd8f7
commit
4e884eda9a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user