From 6aebb7668a1216d62380128a5517b5013ce31c67 Mon Sep 17 00:00:00 2001 From: Philipp Zabel Date: Sat, 30 Jan 2010 12:30:42 +0100 Subject: [PATCH] IMDb SQLite: movie_aka may return null --- src/imdb/imdb-sqlite.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imdb/imdb-sqlite.vala b/src/imdb/imdb-sqlite.vala index 32ac41c..b53262a 100644 --- a/src/imdb/imdb-sqlite.vala +++ b/src/imdb/imdb-sqlite.vala @@ -358,7 +358,7 @@ class IMDbSqlite : Object { return n; } - private string movie_aka (string title, string match) { + private string? movie_aka (string title, string match) { string sql = "SELECT Aka FROM Akas WHERE (TitleID = (SELECT rowid FROM Movies WHERE Title = \"%s\") AND Aka %s) LIMIT 1;".printf (title, match); Statement stmt; int rc; -- 1.7.9.5