Skip to content

Commit

Permalink
mod_base: fix ubf decode for plist/map types.
Browse files Browse the repository at this point in the history
  • Loading branch information
mworrell committed Jan 24, 2017
1 parent c139bb5 commit 5382930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mod_base/lib/js/modules/ubf.js
Expand Up @@ -475,7 +475,7 @@ limitations under the License.
var ks = Object.keys(list);
var map = {};
if (list.ubf_type != ubf.LIST) throw "Type error: not a list (for map)";
for (var i; i<ks.length; i++) {
for (var i = 0; i<ks.length; i++) {
var k = ks[i];
if (k != 'ubf_type') {
var elt = list[k];
Expand Down

0 comments on commit 5382930

Please sign in to comment.