fossasia/engelsystem

View on GitHub
includes/model/ShiftTypes_model.php

Summary

Maintainability
A
30 mins
Test Coverage

Showing 1 of 1 total issue

Similar blocks of code found in 2 locations. Consider refactoring.
Open

function ShiftType_update($shifttype_id, $name, $angeltype_id, $description) {
return sql_query("UPDATE `ShiftTypes` SET
`name`='" . sql_escape($name) . "',
`angeltype_id`=" . sql_null($angeltype_id) . ",
`description`='" . sql_escape($description) . "'
Severity: Minor
Found in includes/model/ShiftTypes_model.php and 1 other location - About 30 mins to fix
includes/model/User_model.php on lines 702..709

There are no issues that match your filters.

Category
Status