fix: count returns 1 if variable dosn't exists!

This commit is contained in:
Cornelius Weiß 2006-05-16 09:22:29 +00:00
parent f1669d5424
commit 8c0945b4d0

View File

@ -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++)