We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96d4995 commit a271451Copy full SHA for a271451
app/Console/Commands/SendNotifications.php
@@ -91,9 +91,11 @@ public function handle()
91
$txt .= ' - ';
92
// Clauses
93
foreach ($control->measures() as $measure) {
94
- $txt .= '<a href="' . url('/alice/show/' . $measure->id) . '">'. htmlentities($measure->clause) . '</a>';
95
- // Space
96
- $txt .= ' ';
+ if ($measure!==null) {
+ $txt .= '<a href="' . url('/alice/show/' . $measure->id) . '">'. htmlentities($measure->clause) . '</a>';
+ // Space
97
+ $txt .= ' ';
98
+ }
99
}
100
$txt .= ' - ';
101
// Name
0 commit comments