From 581962c4b62c401b2aba35c6a32cb54a7907ae16 Mon Sep 17 00:00:00 2001 From: Vasil Kolev Date: Sun, 16 Oct 2016 00:03:36 +0300 Subject: [PATCH] one more check --- page-schedule.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/page-schedule.php b/page-schedule.php index cf14eea..702f3e6 100644 --- a/page-schedule.php +++ b/page-schedule.php @@ -4,7 +4,6 @@ get_header(); wp_nav_menu( array( 'theme_location' => 'footer-schedule', 'container_class' => 'content subnav cf' ) ); require("schedule-config.php"); - $content = require __DIR__ . DIRECTORY_SEPARATOR . 'schedule' . DIRECTORY_SEPARATOR . 'parse.php'; //var_dump($data); ?> @@ -13,7 +12,7 @@ $content = require __DIR__ . DIRECTORY_SEPARATOR . 'schedule' . DIRECTORY_SEPARA

+if (!empty($content) && !empty($content['slots'])) { ?>