Commit e7180843 by pupi1985

Remove unnecessary variable

parent 44c81477
......@@ -841,7 +841,6 @@ function qa_page_q_do_comment($question, $parent, $commentsfollows, $pagestart,
// The other option ('level') prevents the comment button being shown, in qa_page_q_post_rules(...)
$parentid = $parent['postid'];
$answer = ($question['postid'] == $parentid) ? null : $parent;
switch (qa_user_post_permit_error('permit_post_c', $parent, QA_LIMIT_COMMENTS)) {
case 'login':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment