Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
316 views
in Q2A Core by
I use this as a faq system... and I need only admin to reply so no question are show if there are no answers

1 Answer

0 votes
by
You can insert this code:

foreach ($questions as $key => $question)
  if (!$question['acount'])
    unset($questions[$key]);

after the $questions variable is assigned on each appropriate page.
...