mod_pubsub_feeds: Use correct loop variable
authorKim Alvefur <zash@zash.se>
Sun, 20 Mar 2016 12:37:56 +0100
changeset 2137 85762420a2c0
parent 2136 b149ea428b81
child 2138 bd7744df0b4a
mod_pubsub_feeds: Use correct loop variable
mod_pubsub_feeds/feeds.lib.lua
--- a/mod_pubsub_feeds/feeds.lib.lua	Sun Mar 20 12:32:45 2016 +0100
+++ b/mod_pubsub_feeds/feeds.lib.lua	Sun Mar 20 12:37:56 2016 +0100
@@ -66,7 +66,7 @@
 	-- TODO channel properties
 	feed:tag("entry");
 	for item in channel:childtags("item") do
-		for tag in rss_item:childtags() do
+		for tag in item:childtags() do
 			local translator = rss2atom[tag.name];
 			if translator then
 				translator(feed, tag);