From 55619f12b1b3930291437f4e4fa46ffd9d046ad8 Mon Sep 17 00:00:00 2001 From: Jonathan Green Date: Fri, 7 Apr 2017 10:27:13 -0300 Subject: [PATCH] Fixing coder warning. --- theme/theme.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/theme.inc b/theme/theme.inc index 27a37e5a..4405c288 100644 --- a/theme/theme.inc +++ b/theme/theme.inc @@ -61,7 +61,7 @@ function islandora_preprocess_islandora_default_edit(array &$variables) { )), ); } - else if (user_access(ISLANDORA_VIEW_DATASTREAM_HISTORY)) { + elseif (user_access(ISLANDORA_VIEW_DATASTREAM_HISTORY)) { $row[] = array(); } if (islandora_datastream_access(ISLANDORA_VIEW_DATASTREAM_HISTORY, $ds)) {