Search found 1 match

by Slanger
Thu Apr 04, 2013 10:19 pm
Forum: [3.x] Discussion
Topic: Template variable freezes after user logout (?)
Replies: 0
Views: 6121

Template variable freezes after user logout (?)

Hi guys,
so I recently added this code to "includes/functions.php":
if ( !function_exists('group_memberships') )
{
include($phpbb_root_path . 'includes/functions_user.'.$phpEx);
}
$groups = group_memberships(false,$user->data['user_id']);
foreach ($groups as $grouprec)
{
$template->assign_vars ...