finish cleanup of angeltypes controller
This commit is contained in:
parent
91bc5cf914
commit
dc5b0a6214
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue