mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
Move variable initialization to make sure it's initialized
(to satisfy scrutinizer)
This commit is contained in:
parent
2b99050d99
commit
e26ea93f64
@ -572,13 +572,13 @@ app.classes.admin = AppJS.extend(
|
||||
}
|
||||
}
|
||||
var rights = 0;
|
||||
var id = [];
|
||||
for(var i in _value.acl)
|
||||
{
|
||||
rights += parseInt(_value.acl[i]);
|
||||
}
|
||||
if(typeof _value.apps != 'undefined' && !_value.acl_appname)
|
||||
{
|
||||
id = [];
|
||||
rights = 1;
|
||||
var removed = [];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user