mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-03-17 08:40:12 +00:00
Merge branch 'mutesplash-master-patch-85583' into 'master'
Fixes warning similar to to 27ff697d See merge request davical-project/davical!132
This commit is contained in:
commit
bc7ab3cd4f
@ -380,7 +380,8 @@ if ( $editor->Available() ) {
|
||||
$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">';
|
||||
for( $i=0; $i < count($privilege_names); $i++ ) {
|
||||
$privilege_set = ( (1 << $i) & $grant_privileges ? ' CHECKED' : '');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user