xbmc/xbmc — pull request #6067 by Jalle19 (2014-12-30 20:12:22+00:00)
Title: [gui] correct the logic for checking whether we have a sort method

Without this, if you go to Live TV -> Guide and change view mode, Kodi will crash and will continue to crash on startup for all eternity.

@Montellese for review. If this turns out to be valid the backported fix will need fixing as well.