From e26ea93f6434101e2cb0ea229ea10cbae96d8745 Mon Sep 17 00:00:00 2001 From: nathangray Date: Mon, 23 Jan 2017 08:51:54 -0700 Subject: [PATCH] Move variable initialization to make sure it's initialized (to satisfy scrutinizer) --- admin/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/js/app.js b/admin/js/app.js index 3567c91d54..12235aa4fa 100644 --- a/admin/js/app.js +++ b/admin/js/app.js @@ -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 = [];