projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a05ae4
)
Revert "Bug fixing : get_user_permissions SQL Fixing"
author
Joshua Ferraro
<jmf@liblime.com>
Mon, 9 Jun 2008 14:53:23 +0000
(09:53 -0500)
committer
Joshua Ferraro
<jmf@liblime.com>
Mon, 9 Jun 2008 14:53:23 +0000
(09:53 -0500)
From Galen: because code is part of the join, there is in fact no ambiguity
This reverts commit
3a05ae40f6d03a8399e4653da1761f5dde7e23ea
.
C4/Auth.pm
patch
|
blob
|
history
diff --git
a/C4/Auth.pm
b/C4/Auth.pm
index
61711d9
..
3556336
100755
(executable)
--- a/
C4/Auth.pm
+++ b/
C4/Auth.pm
@@
-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)