Skip to content
Browse files

fixed: PrepareSQL in ViewDatabase.cpp was missing an argument.

  • Loading branch information...
1 parent a1dd552 commit ff5fac9e55006f72babd5fd38ae9d39c6d88e1df wsoltys committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  xbmc/view/ViewDatabase.cpp
2  xbmc/view/ViewDatabase.cpp
@@ -207,7 +207,7 @@ bool CViewDatabase::SetViewState(const CStdString &path, int window, const CView
{ // add the view
sql = PrepareSQL("insert into view (idView, path, window, viewMode, sortMethod, sortOrder, sortAttributes, skin) values(NULL, '%s', %i, %i, %i, %i, %i, '%s')",
- path1.c_str(), window, state.m_viewMode, (int)state.m_sortDescription.sortOrder, (int)state.m_sortDescription.sortAttributes, skin.c_str());
+ path1.c_str(), window, state.m_viewMode, (int)state.m_sortDescription.sortBy, (int)state.m_sortDescription.sortOrder, (int)state.m_sortDescription.sortAttributes, skin.c_str());

0 comments on commit ff5fac9

Please sign in to comment.
Something went wrong with that request. Please try again.