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
Branches
Tags
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<?php <?php
?> ?>
<table class="citation table table-striped"> <table class="citation table table-striped">
<?php foreach ($this->driver->getAIRecord() as $field => $values): ?> <?php foreach ((array)$this->driver->getAIRecord() as $field => $values): ?>
<tr> <tr>
<th><?=$this->escapeHtml($field)?></th> <th><?=$this->escapeHtml($field)?></th>
<td> <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