IMDb SQLite: movie_aka may return null
[cinaest] / src / imdb / imdb-sqlite.vala
index 32ac41c..b53262a 100644 (file)
@@ -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;