mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 06:07:32 +02:00
#4512: faqs_shortcodes::sc_faq_count(): Return blank string instead of 0
Previously incorrect null coalesce returns 0 instead of a blank string Fixes: #4512
This commit is contained in:
@@ -283,7 +283,7 @@ class faqs_shortcodes extends e_shortcode
|
||||
return "<span class='faq-total'>(".($this->counter -1).")</span>";
|
||||
}
|
||||
|
||||
return isset($this->var['f_count']) ? $this->var['f_count'] : 0;
|
||||
return isset($this->var['f_count']) ? $this->var['f_count'] : '';
|
||||
}
|
||||
|
||||
function sc_faq_cat_diz()
|
||||
|
Reference in New Issue
Block a user