diff modules/mod_manage.js @ 48:c979c4d0932b

Little fixes for strict mode compatibility.
author Sonny Piers <sonny.piers@gmail.com>
date Sat, 19 Mar 2011 14:57:13 +0100
parents 0d3f18bb1d36
children c2c9c06d6e9d
line wrap: on
line diff
--- a/modules/mod_manage.js
+++ b/modules/mod_manage.js
@@ -154,7 +154,7 @@ exports.modifyAff = {
 			return makeError(response, errors.forbidden.n);
 
 		var e = false;
-		for (i in request.children) {
+		for (var i in request.children) {
 			var jid = request.children[i].getAttribute('jid');
 			var affiliation = request.children[i].getAttribute('affiliation');