pos/is4c-nf/gui-modules/deptlist.php
Method body_content
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function body_content()
{
$input = $this->form->tryGet('in');
$dbc = Database::pDataConnect();
$res = $dbc->query("SELECT dept_no,dept_name FROM departments ORDER BY dept_name");