From 4186209d766c83a0db55457071584beed2c3e861 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Tue, 8 Nov 2016 14:31:34 -0500 Subject: [PATCH] Adjusted template to match earlier refactoring. --- themes/root/templates/Email/record-sms.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/root/templates/Email/record-sms.phtml b/themes/root/templates/Email/record-sms.phtml index 722515247dc..a456ea48123 100644 --- a/themes/root/templates/Email/record-sms.phtml +++ b/themes/root/templates/Email/record-sms.phtml @@ -15,7 +15,7 @@ // the last location encountered. $callno = $location = $backupLocation = false; $useBackupLocation = true; - foreach ($holdings as $details) { + foreach ($holdings['holdings'] as $details) { $location = $details['location']; foreach ($details['items'] as $item) { $callno = isset($item['callnumber']) ? $item['callnumber'] : false; -- GitLab