Skip to content

Commit b99faf7

Browse files
committed
fix send notifications
1 parent 3c1d9db commit b99faf7

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

app/Console/Commands/SendNotifications.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,10 @@ public function handle()
9090
// Space
9191
$txt .= '   -   ';
9292
// Clauses
93-
foreach ($control->measures() as $measure) {
94-
if ($measure!==null) {
95-
$txt .= '<a href="' . url('/alice/show/' . $measure->id) . '">'. htmlentities($measure->clause) . '</a>';
96-
// Space
97-
$txt .= ' &nbsp; ';
98-
}
93+
foreach ($control->measures as $measure) {
94+
$txt .= '<a href="' . url('/alice/show/' . $measure->id) . '">'. htmlentities($measure->clause) . '</a>';
95+
// Space
96+
$txt .= ' &nbsp; ';
9997
}
10098
$txt .= ' - &nbsp; ';
10199
// Name

0 commit comments

Comments
 (0)