mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-09-01 18:48:17 +00:00
Fixes warning similar to to 27ff697d
This commit is contained in:
parent
2ce32a3ac7
commit
3701931c21
@ -380,7 +380,7 @@ if ( $editor->Available() ) {
|
||||
$submit_label = translate('Apply Changes');
|
||||
}
|
||||
|
||||
$grant_privileges = bindec($grantrow->Value('grant_privileges'));
|
||||
$grant_privileges = isset($grantrow->Value('grant_privileges')) ? bindec($grantrow->Value('grant_privileges')) : 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