[Isocial-svn] SF.net SVN: isocial: [250] app/controllers/groupapp/group_controller.php
Status: Pre-Alpha
Brought to you by:
aguidrevitch
From: <di...@us...> - 2008-06-25 16:35:03
|
Revision: 250 http://isocial.svn.sourceforge.net/isocial/?rev=250&view=rev Author: dim0s77 Date: 2008-06-25 09:35:09 -0700 (Wed, 25 Jun 2008) Log Message: ----------- hot fixes Modified Paths: -------------- app/controllers/groupapp/group_controller.php Modified: app/controllers/groupapp/group_controller.php =================================================================== --- app/controllers/groupapp/group_controller.php 2008-06-25 16:23:46 UTC (rev 249) +++ app/controllers/groupapp/group_controller.php 2008-06-25 16:35:09 UTC (rev 250) @@ -121,7 +121,7 @@ $this->admins_count = 0; $this->moderators_count = 0; $this->members_count = 0; - if ($members) { + if ($this->members) { foreach ($this->members as $member) { if ($member->groupapp_member_role_id == 1) $this->owners_count++; elseif ($member->groupapp_member_role_id == 2) $this->admins_count++; @@ -198,7 +198,7 @@ $this->is_member = false; $this->is_guest = true; $current_user_id = $this->current_user->getId(); - if ($members) { + if ($this->members) { $this->members_count = count($this->members); foreach ($this->members as $member) { if ($member->groupapp_member_role_id < 3) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |