Fix #2961: changed uninitialized var time to thumb_modified
Merge branch '2.2/develop' of github.com:pyrocms/pyrocms into 2.2/develop