phpBB

Code Changes

File: includes/functions.php

  Unmodified   Added   Modified   Removed
Line 4334Line 4334
			}
}
}

			}
}
}

 

/**
* Modify online userlist data
*
* @event core.obtain_users_online_string_before_modify
* @var array online_users Array with online users data
* from obtain_users_online()
* @var int item_id Restrict online users to item id
* @var string item Restrict online users to a certain
* session item, e.g. forum for
* session_forum_id
* @var array rowset Array with online users data
* @var array user_online_link Array with online users items (usernames)
* @since 3.1.10-RC1
*/
$vars = array(
'online_users',
'item_id',
'item',
'rowset',
'user_online_link',
);
extract($phpbb_dispatcher->trigger_event('core.obtain_users_online_string_before_modify', compact($vars)));


	$online_userlist = implode(', ', $user_online_link);

if (!$online_userlist)

	$online_userlist = implode(', ', $user_online_link);

if (!$online_userlist)