mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 15:18:58 +01:00
fix for bug #435349.
This commit is contained in:
parent
960a50b148
commit
36ee6b1dc2
@ -569,6 +569,7 @@
|
|||||||
$security = "('". $this->account_id ."'";
|
$security = "('". $this->account_id ."'";
|
||||||
$myaccounts = CreateObject('phpgwapi.accounts');
|
$myaccounts = CreateObject('phpgwapi.accounts');
|
||||||
$my_memberships = $myaccounts->memberships($this->account_id);
|
$my_memberships = $myaccounts->memberships($this->account_id);
|
||||||
|
unset($myaccounts);
|
||||||
@reset($my_memberships);
|
@reset($my_memberships);
|
||||||
while($my_memberships && list($key,$group) = each($my_memberships))
|
while($my_memberships && list($key,$group) = each($my_memberships))
|
||||||
{
|
{
|
||||||
|
@ -410,8 +410,8 @@
|
|||||||
{
|
{
|
||||||
if (ereg('enable_',$phpgw_class_name[0]))
|
if (ereg('enable_',$phpgw_class_name[0]))
|
||||||
{
|
{
|
||||||
$enable_class = ereg_replace('enable_','',$phpgw_class_name[0]);
|
$enable_class = str_replace('enable_','',$phpgw_class_name[0]);
|
||||||
$enable_class = ereg_replace('_class','',$enable_class);
|
$enable_class = str_replace('_class','',$enable_class);
|
||||||
eval('$phpgw->' . $enable_class . ' = createobject(\'phpgwapi.' . $enable_class . '\');');
|
eval('$phpgw->' . $enable_class . ' = createobject(\'phpgwapi.' . $enable_class . '\');');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user