Revert "Bug fixing : get_user_permissions SQL Fixing"

From Galen: because code is part of the join, there is in fact no ambiguity

This reverts commit 3a05ae40f6.
This commit is contained in:
Joshua Ferraro 2008-06-09 09:53:23 -05:00
parent 3a05ae40f6
commit 7304a2e89b
1 changed files with 1 additions and 1 deletions

View File

@ -1263,7 +1263,7 @@ sub get_user_subpermissions {
my $userid = shift;
my $dbh = C4::Context->dbh;
my $sth = $dbh->prepare("SELECT flag, permissions.code
my $sth = $dbh->prepare("SELECT flag, code
FROM user_permissions
JOIN permissions USING (module_bit, code)
JOIN userflags ON (module_bit = bit)