Closed nhart closed 5 years ago
Related issue https://github.com/Islandora-Labs/islandora_solution_pack_oralhistories/issues/144. FYI - we are in the process of updating our Travis builds and this sort of thing should be detected in the future. Thanks!
N.B. - It is worthwhile smoke testing and merging this pull-request and the expected pull-request for issue #144 even before the remaining issues with the Travis builds are sorted out. Self assigning.
Any update on this @MarcusBarnes ?
@nhart I'm going to merged your suggested changes. There are still some issues with the Travis build that need to be sorted out. Once the Travis build is sorted out, we'll be able to catch issues like this automatically. Thanks!
@nhart Thank you for your contribution.
What does this Pull Request do?
PHP 7+ complains about un-supported type https://github.com/Islandora-Labs/islandora_solution_pack_oralhistories/blob/7.x/transcripts_ui/theme/transcripts_ui.theme.inc#L51-L52 https://github.com/Islandora-Labs/islandora_solution_pack_oralhistories/blob/7.x/transcripts_ui/theme/transcripts_ui.theme.inc#L66-L67
What's new?
Set default empty array for later use in theme process.
How should this be tested?
View a OH object with transcript display enabled with PHP7+. Prior to PR, Drupal will white screen and with PR you can view object.
Interested parties
@MarcusBarnes