fix usage

This commit is contained in:
Vasil Kolev 2015-10-23 17:27:02 +03:00 committed by Openfest
parent 94ac9ffb43
commit 72a1a20e2f
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ $content = require __DIR__ . DIRECTORY_SEPARATOR . 'schedule' . DIRECTORY_SEPARA
<?php
foreach ($content['halls'] as $hall_name) {
?>
<td><?php echo htmlspecialchars($hall_name[$lang]); ?></td>
<td><?php echo htmlspecialchars($hall_name[$CF['lang']]); ?></td>
<?php
}
?>

View File

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