diff --git a/themes/finc/templates/RecordTab/description.phtml b/themes/finc/templates/RecordTab/description.phtml index 3e35a167776ddcd3940766cea9eea378a76f11c2..8420678662fa442a8af2e7af862efa45b20dbe69 100644 --- a/themes/finc/templates/RecordTab/description.phtml +++ b/themes/finc/templates/RecordTab/description.phtml @@ -11,7 +11,14 @@ $mainFields = $formatter->getData($driver, $formatter->getDefaults('description' <caption class="sr-only"><?=$this->transEsc('Description')?></caption> <? if (!empty($mainFields)): ?> <? foreach ($mainFields as $key => $current): ?> - <tr><th><?=$this->transEsc($key)?>:</th><td><?=$current['value']?></td></tr> + <? if ($key == null): ?> + <?=$current['value']?> + <? else: ?> + <tr> + <th><?=$this->transEsc($key)?>:</th> + <td><?=$current['value']?></td> + </tr> + <? endif; ?> <? endforeach; ?> <? else: ?> <tr><td><?=$this->transEsc('no_description')?></td></tr>