fix for getting the speakers' page url

This commit is contained in:
Vasil Kolev 2015-10-22 17:32:17 +03:00 committed by Openfest
parent a820618363
commit 94ac9ffb43
1 changed files with 1 additions and 2 deletions

View File

@ -42,7 +42,7 @@ if ('en' === $lang) {
}
$args = array(
'name' => $s_slug,
'name' => $CF['s_slug'],
'post_type' => 'page',
'numberposts' => 1
);
@ -55,5 +55,4 @@ if( $my_posts ) {
}
?>