Skip to content

Commit 3056dfc

Browse files
authored
Merge pull request #480 from dbarzin/dev
Dev
2 parents 81c9909 + 3c1d9db commit 3056dfc

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

app/Console/Commands/SendNotifications.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,11 @@ public function handle()
9191
$txt .= '   -   ';
9292
// Clauses
9393
foreach ($control->measures() as $measure) {
94-
$txt .= '<a href="' . url('/alice/show/' . $measure->id) . '">'. htmlentities($measure->clause) . '</a>';
95-
// Space
96-
$txt .= ' &nbsp; ';
94+
if ($measure!==null) {
95+
$txt .= '<a href="' . url('/alice/show/' . $measure->id) . '">'. htmlentities($measure->clause) . '</a>';
96+
// Space
97+
$txt .= ' &nbsp; ';
98+
}
9799
}
98100
$txt .= ' - &nbsp; ';
99101
// Name

app/Providers/AppServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function register()
2929
public function boot()
3030
{
3131
if (
32-
(App::environment('production') && (Config::get('app.force_https') === null))
32+
(App::environment('production') && (Config::get('app.force_https') == null))
3333
||
3434
Config::get('app.force_https')
3535
) {

config/app.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
| Application Force HTTPS
3434
|--------------------------------------------------------------------------
3535
|
36-
| This ariable force the use of HTTPS in the applucation URL
36+
| This variable force the use of HTTPS in the applucation URL
3737
|
3838
*/
3939

0 commit comments

Comments
 (0)