mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-23 02:14:16 +00:00
Compare commits
4 Commits
aa6eb2877a
...
7d59bf1148
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7d59bf1148 | ||
|
|
237fda57b0 | ||
|
|
34b3c7c7a6 | ||
|
|
3701931c21 |
@ -380,7 +380,8 @@ if ( $editor->Available() ) {
|
|||||||
$submit_label = translate('Apply Changes');
|
$submit_label = translate('Apply Changes');
|
||||||
}
|
}
|
||||||
|
|
||||||
$grant_privileges = bindec($grantrow->Value('grant_privileges'));
|
$gp_temp = $grantrow->Value('grant_privileges')
|
||||||
|
$grant_privileges = isset($gp_temp) ? bindec($gp_temp) : 0;
|
||||||
$privileges_set = '<div id="privileges">';
|
$privileges_set = '<div id="privileges">';
|
||||||
for( $i=0; $i < count($privilege_names); $i++ ) {
|
for( $i=0; $i < count($privilege_names); $i++ ) {
|
||||||
$privilege_set = ( (1 << $i) & $grant_privileges ? ' CHECKED' : '');
|
$privilege_set = ( (1 << $i) & $grant_privileges ? ' CHECKED' : '');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user