projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'platal-0.9.16'
[platal.git]
/
modules
/
auth
/
auth.inc.php
diff --git
a/modules/auth/auth.inc.php
b/modules/auth/auth.inc.php
index
83921e1
..
a1a562f
100644
(file)
--- a/
modules/auth/auth.inc.php
+++ b/
modules/auth/auth.inc.php
@@
-60,12
+60,12
@@
function gpex_make($chlg, $privkey, $datafields, $charset)
WHERE uid = {?} AND diminutif = {?}",
S::v('uid'), $_GET['group']);
$perms = $res->fetchOneCell();
WHERE uid = {?} AND diminutif = {?}",
S::v('uid'), $_GET['group']);
$perms = $res->fetchOneCell();
- if (S
ession
::has_perms()) {
+ if (S::has_perms()) {
$perms = 'admin';
}
} else {
// if no group asked, return main rights
$perms = 'admin';
}
} else {
// if no group asked, return main rights
- $perms = S
ession::has_perms()?'admin':
'membre';
+ $perms = S
::has_perms() ? 'admin' :
'membre';
}
$params .= gpex_prepare_param($val, $perms, $tohash, $charset);
}
}
$params .= gpex_prepare_param($val, $perms, $tohash, $charset);
}