Skip to content

Commit

Permalink
discoverygarden#69: avoid unset variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ctgraham committed Sep 16, 2021
1 parent 336029d commit 2c31472
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions theme/theme.inc
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ function template_process_islandora_manuscript_ead_display(&$variables) {
}
$proc->registerPhpFunctions($variables['xslt_functions']);
$variables['markup_doc'] = $proc->transformToDoc($variables['doc']);
$variables['cached_output'] = false;
if (variable_get('islandora_manuscript_ead_caching', false)) {
$cachekey = 'islandora_manuscript:eadhtml:'.md5($variables['object']->id);
$cache = cache_get($cachekey);
Expand Down

0 comments on commit 2c31472

Please sign in to comment.