WebGUI 1.2.0 release
This commit is contained in:
parent
b2cd674d4d
commit
677366069a
31 changed files with 459 additions and 881 deletions
|
|
@ -63,7 +63,7 @@ sub isInGroup {
|
|||
if ($uid eq "") {
|
||||
$uid = $session{user}{userId};
|
||||
}
|
||||
($result) = WebGUI::SQL->quickArray("select count(*) from groupings where groupId='$gid' && userId='$uid'",$session{dbh});
|
||||
($result) = WebGUI::SQL->quickArray("select count(*) from groupings where groupId='$gid' and userId='$uid'",$session{dbh});
|
||||
if ($result < 1 && $gid == 1) { # registered users can
|
||||
$result = isInGroup(2, $uid); # do anything visitors
|
||||
} # can do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue