fix typo in SQL statement definition
Matt S Trout [Tue, 19 Jul 2011 23:50:53 +0000 (23:50 +0000)]
lib/App/IdiotBox/Store/SQLite.pm

index 2f17260..dfd0949 100644 (file)
@@ -71,7 +71,7 @@ sub _bind_announcements {
         ORDER BY
           announcement.made_at DESC
       },
-      insert_sql => sub {
+      insert_one => sub {
         my ($store, undef, $dbh, $args) = @_;
         $store->_sth_for($dbh, q{
           INSERT INTO announcements