From d592adc5cd2c3b7f0dbcf2e0621533e652e40d1b Mon Sep 17 00:00:00 2001 From: Brian O'Donnell Date: Mon, 20 Apr 2015 09:59:59 -0400 Subject: [PATCH] Added 'title' to the list of fields pulled from the DB for posts --- pod_feeder.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pod_feeder.pl b/pod_feeder.pl index f05ae9c..8cae215 100755 --- a/pod_feeder.pl +++ b/pod_feeder.pl @@ -89,7 +89,7 @@ sub publish_feed { my $dbh = connect_to_db( $db_file ); my $sth = $dbh->prepare( - "SELECT guid, link, hashtags FROM feeds WHERE feed_id == \"$feed_id\" AND posted == 0 AND timestamp > " . ( time - ( $timeout * 3600 )) + "SELECT guid, title, link, hashtags FROM feeds WHERE feed_id == \"$feed_id\" AND posted == 0 AND timestamp > " . ( time - ( $timeout * 3600 )) ) or die "Can't prepare statement: $DBI::errstr"; $sth->execute() or die "Can't execute statement: $DBI::errstr";