[ticket/634] Improve test coverage and fix coding issues

B3P-634
This commit is contained in:
Marc Alexander
2015-06-23 12:15:38 +02:00
parent 0cc4b4ea0a
commit 66a5d95ed9
4 changed files with 199 additions and 47 deletions

View File

@@ -465,6 +465,8 @@ function get_user_groups()
if ($groups_ary === false)
{
$groups_ary = array();
// get user's groups
$sql = 'SELECT group_id
FROM ' . USER_GROUP_TABLE . '