Commit 68afca6f authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Minor fix to TBNodeUpdateAccountsByUID; watch for users not in any

groups.
parent bd6cc6ba
...@@ -2207,7 +2207,7 @@ sub TBNodeUpdateAccountsByUID($) ...@@ -2207,7 +2207,7 @@ sub TBNodeUpdateAccountsByUID($)
"left join group_membership as g on ". "left join group_membership as g on ".
" u.uid=g.uid and g.pid=g.gid ". " u.uid=g.uid and g.pid=g.gid ".
"left join projects as p on p.pid=g.pid ". "left join projects as p on p.pid=g.pid ".
"where u.uid='$uid'"); "where u.uid='$uid' and p.pid is not null");
while (my %row = $query_result->fetchhash()) { while (my %row = $query_result->fetchhash()) {
my $pid = $row{'pid'}; my $pid = $row{'pid'};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment