The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

Skip to content
Snippets Groups Projects
Commit 0dcec46b authored by Demian Katz's avatar Demian Katz
Browse files

Template optimization.

parent c22586d8
No related merge requests found
......@@ -7,8 +7,7 @@
<tr>
<th><?=$this->escapeHtml($field)?></th>
<td>
<? if (!is_array($values)) { $values = [$values]; } ?>
<? foreach ($values as $value): ?>
<? foreach ((array)$values as $value): ?>
<?=$this->escapeHtml(is_array($value) ? print_r($value, true) : $value)?><br />
<? endforeach; ?>
</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