finish cleanup of angeltypes controller

This commit is contained in:
Philip Häusler 2015-12-22 16:25:38 +01:00
parent 91bc5cf914
commit dc5b0a6214
1 changed files with 0 additions and 1 deletions

View File

@ -141,7 +141,6 @@ function angeltype_edit_controller() {
$description = strip_request_item_nl('description'); $description = strip_request_item_nl('description');
if ($ok) { if ($ok) {
$restricted = $restricted ? 1 : 0;
if (isset($angeltype)) { if (isset($angeltype)) {
$result = AngelType_update($angeltype['id'], $name, $restricted, $description, $requires_driver_license); $result = AngelType_update($angeltype['id'], $name, $restricted, $description, $requires_driver_license);
if ($result === false) if ($result === false)