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 ff71950..6411525 100644 (file)
@@ -39,8 +39,8 @@ void FetchGroup::operator() (pqxx::transaction<> &t)
                        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;