diff --git a/themes/fid_adlr/templates/RecordTab/staffviewai.phtml b/themes/fid_adlr/templates/RecordTab/staffviewai.phtml
index b0f10f828cbb1e0c8d48785078cb351fa27c8ac3..55fb5e4109b18f8fcf28f5f0732c2dffb5cafcd6 100644
--- a/themes/fid_adlr/templates/RecordTab/staffviewai.phtml
+++ b/themes/fid_adlr/templates/RecordTab/staffviewai.phtml
@@ -2,7 +2,7 @@
 <?php
 ?>
 <table class="citation table table-striped">
-  <?php foreach ($this->driver->getAIRecord() as $field => $values): ?>
+  <?php foreach ((array)$this->driver->getAIRecord() as $field => $values): ?>
     <tr>
       <th><?=$this->escapeHtml($field)?></th>
       <td>