mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
fix: count returns 1 if variable dosn't exists!
This commit is contained in:
parent
f1669d5424
commit
8c0945b4d0
@ -307,7 +307,8 @@
|
||||
// add the list group members
|
||||
if($this->data['account_type'] == 'g' && $this->group_context )
|
||||
{
|
||||
$members = $this->member($this->account_id);
|
||||
$members = $this->member($this->account_id) ? $this->member($this->account_id) : NULL;
|
||||
|
||||
#_debug_array($members);
|
||||
$newData['memberuid'] = array();
|
||||
for($i=0;$i<count($members);$i++)
|
||||
|
Loading…
Reference in New Issue
Block a user