diff options
Diffstat (limited to 'fedcli.php')
-rwxr-xr-x | fedcli.php | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -118,13 +118,20 @@ function Package() { echo $branch.":\t".$pack['owner']; $i=0; + $tmp = array(); foreach ($pack['people'] as $user) { if (isset($user['aclOrder']['commit']['statuscode']) && $user['aclOrder']['commit']['statuscode']==3) { - echo ($i++ ? ", " : " (").$user['username']; + $tmp[] = $user['username']; } } - echo ($i ? ")\n" : "\n"); + if (count($tmp)) { + sort($tmp); + echo " (".implode($tmp, ', ').")\n"; + } else { + echo "\n"; + } } + } function Version() { |