Test Setup Failed
Push — develop ( 8b1de7...f24afc )
by Greg
07:50
created
resources/views/blocks/events-list.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,12 @@
 block discarded – undo
3 3
 
4 4
 <?php if ($summary !== ''): ?>
5 5
 	<span class="details_label"><?= $summary ?></span>
6
-<?php else: ?>
6
+<?php else {
7
+	: ?>
7 8
 	<?php foreach ($facts as $fact): ?>
8
-		<?php $record = $fact->getParent(); ?>
9
+		<?php $record = $fact->getParent();
10
+}
11
+?>
9 12
 		<a href="<?= e($record->url()) ?>" class="list_item name2">
10 13
 			<?= $record->getFullName() ?>
11 14
 		</a>
Please login to merge, or discard this patch.
resources/views/blocks/events-table.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,7 +3,8 @@  discard block
 block discarded – undo
3 3
 
4 4
 <?php if ($summary !== ''): ?>
5 5
 	<span class="details_label"><?= $summary ?></span>
6
-<?php else: ?>
6
+<?php else {
7
+	: ?>
7 8
 	<table class="table table-sm datatable wt-table-events" data-info="false" data-paging="false"
8 9
 	       data-searching="false" data-sorting="<?= e('[[1, "asc" ]]') ?>">
9 10
 		<thead>
@@ -17,7 +18,9 @@  discard block
 block discarded – undo
17 18
 		<tbody>
18 19
 
19 20
 			<?php foreach ($facts as $fact): ?>
20
-				<?php $record = $fact->getParent(); ?>
21
+				<?php $record = $fact->getParent();
22
+}
23
+?>
21 24
 				<tr>
22 25
 					<td data-sort="<?= e($record->getSortName()) ?>">
23 26
 						<a href="<?= e($record->url()) ?>">
Please login to merge, or discard this patch.