From 72a1a20e2f641c5cc0e79b53b77cdea787241cea Mon Sep 17 00:00:00 2001 From: Vasil Kolev Date: Fri, 23 Oct 2015 17:27:02 +0300 Subject: [PATCH] fix usage --- page-schedule.php | 2 +- schedule-config.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/page-schedule.php b/page-schedule.php index 2aa097c..77f5cda 100644 --- a/page-schedule.php +++ b/page-schedule.php @@ -20,7 +20,7 @@ $content = require __DIR__ . DIRECTORY_SEPARATOR . 'schedule' . DIRECTORY_SEPARA - + diff --git a/schedule-config.php b/schedule-config.php index 7b24d96..0034ff9 100644 --- a/schedule-config.php +++ b/schedule-config.php @@ -35,7 +35,7 @@ if ( preg_match('/^workshop/', $pagename) ) { * There is no better way to get where the speakers are */ -if ('en' === $lang) { +if ('en' === $CF['lang']) { $CF['s_slug'] = 'speakers'; } else { $CF['s_slug'] = 'lektori';