summaryrefslogtreecommitdiff
path: root/includes/controller
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2015-12-22 16:25:38 +0100
committerPhilip Häusler <msquare@notrademark.de>2015-12-22 16:25:38 +0100
commitdc5b0a6214f3b13eebfaa8e95c41e2d55d387a0f (patch)
tree924928e8050ccf8ebed990bb0f9b75105ff1dabf /includes/controller
parent91bc5cf914585c64e1cb7027131c31813c68e4d4 (diff)
finish cleanup of angeltypes controller
Diffstat (limited to 'includes/controller')
-rw-r--r--includes/controller/angeltypes_controller.php1
1 files changed, 0 insertions, 1 deletions
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)