$options is sometimes undefined when rendering EAD, crashes AtoM
|Assignee:||Mike Gale||% Done:|
|Target version:||Release 2.2.0|
|Google Code Legacy ID:||Tested version:|
For whatever reason this crash only showed itself after I tried adding in some other, unrelated code for EAD. The files indexSuccessBody.xml.php and indexSuccessBodyDidElement.xml.php rely on having $options defined for export:bulk CLI options such as --current-level-only and --public. However, the indexSuccess action for exporting EAD from the UI doesn't have $options declared, causing the crash when it hits if statements with $options in them.