Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
423 views
in Q2A Core by

below code to show title and list answer.

if (!empty($a_list)) {
                $this->section(@$a_list['title']);

                $this->output('<DIV CLASS="qa-a-list" '.@$a_list['tags'].'>', '');

...

But, when my question is no answer, html code show empty object :

<h2><span id="a_list_title"></span></h2>

<div id="a_list" class="qa-a-list"></div>

How to remove empty object when empty value?

-->sorry my English...

Q2A version: 1.5.2

Please log in or register to answer this question.

...