Browse Source

Remove ternary.

pull/548/head
nruest 10 years ago
parent
commit
9a2ac4c7a1
  1. 2
      includes/ingest.form.inc

2
includes/ingest.form.inc

@ -80,7 +80,7 @@ function islandora_ingest_form(array $form, array &$form_state, array $configura
*/
function islandora_ingest_form_init_form_state_storage(array &$form_state, array $configuration) {
if (empty($form_state['islandora'])) {
$objects = isset($configuration['objects']) ? $configuration['objects'] : array();
$objects = isset($configuration['objects']) : array();
$configuration['models'] = isset($configuration['models']) ? $configuration['models'] : array();
// Make sure the models actually exist.
foreach ($configuration['models'] as $key => $model) {

Loading…
Cancel
Save