From dc5b0a6214f3b13eebfaa8e95c41e2d55d387a0f Mon Sep 17 00:00:00 2001 From: Philip Häusler Date: Tue, 22 Dec 2015 16:25:38 +0100 Subject: finish cleanup of angeltypes controller --- includes/controller/angeltypes_controller.php | 1 - 1 file changed, 1 deletion(-) (limited to 'includes') diff --git a/includes/controller/angeltypes_controller.php b/includes/controller/angeltypes_controller.php index 0fdbaa28..d6da427e 100644 --- a/includes/controller/angeltypes_controller.php +++ b/includes/controller/angeltypes_controller.php @@ -141,7 +141,6 @@ function angeltype_edit_controller() { $description = strip_request_item_nl('description'); if ($ok) { - $restricted = $restricted ? 1 : 0; if (isset($angeltype)) { $result = AngelType_update($angeltype['id'], $name, $restricted, $description, $requires_driver_license); if ($result === false) -- cgit v1.2.3-54-g00ecf