Skip to content

Commit 2c31472

Browse files
committed
#69: avoid unset variable warning
1 parent 336029d commit 2c31472

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

theme/theme.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ function template_process_islandora_manuscript_ead_display(&$variables) {
157157
}
158158
$proc->registerPhpFunctions($variables['xslt_functions']);
159159
$variables['markup_doc'] = $proc->transformToDoc($variables['doc']);
160+
$variables['cached_output'] = false;
160161
if (variable_get('islandora_manuscript_ead_caching', false)) {
161162
$cachekey = 'islandora_manuscript:eadhtml:'.md5($variables['object']->id);
162163
$cache = cache_get($cachekey);

0 commit comments

Comments
 (0)