Skip to content

Commit 831355d

Browse files
authored
Merge pull request #481 from dbarzin/dev
fix send notifications
2 parents 3056dfc + b99faf7 commit 831355d

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)