Fix #2961: changed uninitialized var time to thumb_modified
Merge pull request #2991 from pavoltanuska/fix-2961-uninitialized-var-time

Fix #2961: changed uninitialized var time to thumb_modified