Minor fixes for support messages

This commit is contained in:
David Bomba 2022-09-12 07:09:20 +10:00
parent e90710d2f0
commit 2346a4452d
2 changed files with 7 additions and 7 deletions

View File

@ -73,7 +73,7 @@ class SupportMessageSent extends Mailable
$plan_status = ''; $plan_status = '';
if(Carbon::parse($account->plan_expires)->lt(now())) if($account->plan_expires && Carbon::parse($account->plan_expires)->lt(now()))
$plan_status = 'Plan Expired :: '; $plan_status = 'Plan Expired :: ';
if (Ninja::isHosted()) { if (Ninja::isHosted()) {

12
composer.lock generated
View File

@ -1577,16 +1577,16 @@
}, },
{ {
"name": "dragonmantank/cron-expression", "name": "dragonmantank/cron-expression",
"version": "v3.3.1", "version": "v3.3.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/dragonmantank/cron-expression.git", "url": "https://github.com/dragonmantank/cron-expression.git",
"reference": "be85b3f05b46c39bbc0d95f6c071ddff669510fa" "reference": "782ca5968ab8b954773518e9e49a6f892a34b2a8"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/be85b3f05b46c39bbc0d95f6c071ddff669510fa", "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/782ca5968ab8b954773518e9e49a6f892a34b2a8",
"reference": "be85b3f05b46c39bbc0d95f6c071ddff669510fa", "reference": "782ca5968ab8b954773518e9e49a6f892a34b2a8",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1626,7 +1626,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/dragonmantank/cron-expression/issues", "issues": "https://github.com/dragonmantank/cron-expression/issues",
"source": "https://github.com/dragonmantank/cron-expression/tree/v3.3.1" "source": "https://github.com/dragonmantank/cron-expression/tree/v3.3.2"
}, },
"funding": [ "funding": [
{ {
@ -1634,7 +1634,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2022-01-18T15:43:28+00:00" "time": "2022-09-10T18:51:20+00:00"
}, },
{ {
"name": "egulias/email-validator", "name": "egulias/email-validator",