mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
fix for bug #625: Warning when deleting contacts
This commit is contained in:
parent
5c4f58f196
commit
1aca20e56d
@ -963,9 +963,9 @@ class bocontacts extends socontacts
|
||||
* @param int $list list-id
|
||||
* @return false on error
|
||||
*/
|
||||
function remove_from_list($contact,$list)
|
||||
function remove_from_list($contact,$list=null)
|
||||
{
|
||||
if (!$this->check_list($list,EGW_ACL_EDIT)) return false;
|
||||
if ($list && !$this->check_list($list,EGW_ACL_EDIT)) return false;
|
||||
|
||||
return parent::remove_from_list($contact,$list);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user