includes/view/Questions_view.php
Showing 1 of 1 total issue
Method Questions_view
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Questions_view($open_questions, $answered_questions, $ask_action) { foreach ($open_questions as &$question) { $question['actions'] = '<a href="' . page_link_to("user_questions") . '&action=delete&id=' . $question['QID'] . '">' . _("delete") . '</a>'; $question['Question'] = str_replace("\n", '<br />', $question['Question']); }