Fix #2961: changed uninitialized var time to thumb_modified
Fix #2961: changed uninitialized var time to thumb_modified