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

I found some missing spaces in qa-app-format.php, which minorly brokes HTML.

Buggy php code is first, second is corrected one 

/* line 1357 */

$fields['notify']['tags'].='ID="'.$fieldprefix.'notify" onclick="if (document.getElementById(\''.$fieldprefix.'notify\').checked) document.getElementById(\''.$fieldprefix.'email\').focus();"';

$fields['notify']['tags'].=' ID="'.$fieldprefix.'notify" onclick="if (document.getElementById(\''.$fieldprefix.'notify\').checked) document.getElementById(\''.$fieldprefix.'email\').focus();"';

/* line:377 */

$onclick='onClick="return qa_vote_click(this);"';

$onclick=' onClick="return qa_vote_click(this);"';

1 Answer

0 votes
by
Thanks - will be fixed in 1.5 beta 2.
...