]> git.sesse.net Git - ccbs/commitdiff
Fix some typos in the field names in FetchGroup.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 19 Feb 2005 18:17:26 +0000 (18:17 +0000)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 19 Feb 2005 18:17:26 +0000 (18:17 +0000)
bigscreen/fetch_group.cpp

index ff719506d0479e61a17751014c3569950753dfd8..6411525ba4f5f49eb9665a5ddd2b4d0ba1c3ac05 100644 (file)
@@ -39,8 +39,8 @@ void FetchGroup::operator() (pqxx::transaction<> &t)
                        so.id = -1;
                } else {
                        so.id = i["song"].as(so.id);
                        so.id = -1;
                } else {
                        so.id = i["song"].as(so.id);
-                       so.title = i["song"].as(so.title);
-                       so.artist = i["song"].as(so.artist);
+                       so.title = i["title"].as(so.title);
+                       so.artist = i["artist"].as(so.artist);
                }
        
                sc.song = so;
                }
        
                sc.song = so;