diff --git a/qa-include/pages/categories.php b/qa-include/pages/categories.php index 5caa51166..858c3fef9 100644 --- a/qa-include/pages/categories.php +++ b/qa-include/pages/categories.php @@ -66,7 +66,7 @@ function qa_category_nav_to_browse(&$navigation, $categories, $categoryid, $favo } $navigation[$key]['note'] = - ' - '.( ($category['qcount']==1) + ' - '.( ($category['qcount'] == 1) ? qa_lang_html_sub('main/1_question', '1', '1') : qa_lang_html_sub('main/x_questions', number_format($category['qcount'])) ).''; diff --git a/qa-include/plugins/qa-widget-ask-box.php b/qa-include/plugins/qa-widget-ask-box.php index 8b03e65f1..94d69214f 100644 --- a/qa-include/plugins/qa-widget-ask-box.php +++ b/qa-include/plugins/qa-widget-ask-box.php @@ -47,10 +47,10 @@ public function output_widget($region, $place, $themeobject, $template, $request