This commit is contained in:
Mathieu Lagace
2019-10-19 13:11:42 -04:00
parent 498c80f404
commit 799261a7d5
10 changed files with 233 additions and 399 deletions

View File

@@ -32,7 +32,7 @@ class News extends Model
foreach (\App\Event::future() as $event)
{
if($event->type = 1)
if($event->type == 1 && $event->msg != "")
{
if (date('U',strtotime($event->date_msg)) <= time())
{