Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
500 views
in Q2A Core by

qa-theme-base.php

function q_view($q_view) {

   if (!empty($q_view)) {

Why do we check if q_view is not empty? I cannot think of any scenario where it is not empty, as question view needs to have question content?

1 Answer

0 votes
by
selected by
 
Best answer
I think you are right, but check what happens when a question is being edited!
by
Ah now I see, could become empty then... thanks :)
...