diff modules/mod_publish.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 99bd1d1ac071
line wrap: on
line diff
--- a/modules/mod_publish.js
+++ b/modules/mod_publish.js
@@ -86,7 +86,7 @@ exports.publish = {
 
 		var content = item.getChild();
 
-		subscribers = storage.setItem(nodeID, itemID, content);
+		var subscribers = storage.setItem(nodeID, itemID, content);
 		if (typeof subscribers == 'number')
 			return makeError(response, subscribers);