Fix an exception in the API when accessing file attachments without review UIs.

Review Request #5032 — Created Nov. 27, 2013 and submitted — Latest diff uploaded

Information

Review Board
release-1.7.x

Reviewers

Fix an exception in the API when accessing file attachments without review UIs.

The thumbnail field in FileAttachment was accessing the review_ui without first
checking it for None-ness. Trivial fix.