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

I am using two favorite buttons, one at the top and one at the end of question by adding a second time 

$favorite=@$this->content['favorite'];
if (isset($favorite))
$this->output('<FORM '.$favorite['form_tags'].'>');
$this->favorite();
if (isset($favorite)) {
$this->form_hidden_elements(@$favorite['form_hidden']);
$this->output('</FORM>');
}
 
Both buttons work, but the second one does not refresh when clicked.
What could be the reason ? Both buttons still have the same name and so on..
Q2A version: 1.6

Please log in or register to answer this question.

...