This was causing a crash according to a conversation with @rfergu in IRC. The issue is that if $images_to_show is empty, then $image never gets set, and it attempts to call getID on a null / unset variable.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Commits
- Restricted Diffusion Commit
rPde40cf5ef7d6: Prevent crash caused by empty array when rendering Pholio mocks
@rfergu confirmed this fixed the crash.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Branch
- pholio-crash
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 1930 Build 1931: [Placeholder Plan] Wait for 30 Seconds