Skip to content
Snippets Groups Projects
Commit 8cbc9ee7 authored by Alexander Purr's avatar Alexander Purr
Browse files

refs #19139 [fid_adlr] cast to array to prevent "Invalid argument supplied for foreach()" on null

parent d1a612fd
No related merge requests found
......@@ -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>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment