mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
3.2.4
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user