diff options
-rw-r--r-- | xbmc/video/VideoDatabase.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xbmc/video/VideoDatabase.cpp b/xbmc/video/VideoDatabase.cpp index 3ed8087cb9..a0d7d3c23b 100644 --- a/xbmc/video/VideoDatabase.cpp +++ b/xbmc/video/VideoDatabase.cpp @@ -1239,8 +1239,10 @@ int CVideoDatabase::AddActor(const CStdString& strActor, const CStdString& thumb m_pDS->close(); // update the thumb url's if (!thumbURLs.IsEmpty()) + { strSQL=PrepareSQL("update actors set strThumb='%s' where idActor=%i",thumbURLs.c_str(),idActor); - m_pDS->exec(strSQL.c_str()); + m_pDS->exec(strSQL.c_str()); + } return idActor; } |