1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 19:44:09 +02:00

Merge pull request #4515 from Deltik/fix/4512

#4512: faqs_shortcodes::sc_faq_count(): Return blank string instead of 0
This commit is contained in:
Cameron
2021-06-14 16:55:10 -07:00
committed by GitHub
2 changed files with 55 additions and 1 deletions

View File

@@ -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()