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';