Skip to content

Commit 2e829f0

Browse files
committed
Fixed two bugs preventing detailed article content from appearing in the Russian part of the page
1 parent d1e5204 commit 2e829f0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

helpukraine.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,15 +182,15 @@ function helpukraine_get_news(&$news_list_en, &$news_list_ru, &$news_articles, &
182182
}
183183
if (!empty($title_ru) and !empty($summary_ru) and !empty($source_ru))
184184
{
185-
if (empty($content_en))
185+
if (empty($content_ru))
186186
{
187187
$news_list_ru .= "<p><strong><a href=\"$link\" target=\"_blank\">$title_ru</a></strong><br>$summary_ru<br>" .
188188
"<i>$source_ru</i></p>\n";
189189
}
190190
else
191191
{
192192
$news_list_ru .= "<p><strong><a href=\"#\" onClick=\"showArticle('ru$id')\">$title_ru</a></strong><br>$summary_ru " .
193-
"<i><a href=\"#\" onClick=\"showArticle('en$id')\">&raquo; Читать далее</a></i><br>" .
193+
"<i><a href=\"#\" onClick=\"showArticle('ru$id')\">&raquo; Читать далее</a></i><br>" .
194194
"<i>$source_ru</i></p>\n";
195195
$news_articles .= <<<ARTICLERUHTML
196196

0 commit comments

Comments
 (0)