projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00adf3d
)
Bug fixing : get_user_permissions SQL Fixing
author
Henri-Damien LAURENT
<henridamien.laurent@biblibre.com>
Wed, 4 Jun 2008 09:58:17 +0000
(11:58 +0200)
committer
Joshua Ferraro
<jmf@liblime.com>
Mon, 9 Jun 2008 11:51:05 +0000
(06:51 -0500)
user_sub_permissions join introduced ambivalence for permissions field
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Auth.pm
patch
|
blob
|
history
diff --git
a/C4/Auth.pm
b/C4/Auth.pm
index
3556336
..
61711d9
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, code
+ my $sth = $dbh->prepare("SELECT flag,
permissions.
code
FROM user_permissions
JOIN permissions USING (module_bit, code)
JOIN userflags ON (module_bit = bit)