From b7620f3482ebda070c0abfadf1f593f155fcb72a Mon Sep 17 00:00:00 2001 From: Frank Schubert Date: Fri, 14 Feb 2025 12:33:38 +0100 Subject: [PATCH] ConstructionConsent: enable all usages for buildings --- .../ConstructionConsent/ConstructionConsentController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/ConstructionConsent/ConstructionConsentController.php b/application/ConstructionConsent/ConstructionConsentController.php index c50faa654..28e6a5646 100644 --- a/application/ConstructionConsent/ConstructionConsentController.php +++ b/application/ConstructionConsent/ConstructionConsentController.php @@ -217,7 +217,7 @@ class ConstructionConsentController extends mfBaseController { $data["usage_manhole"] = $r->usage_manhole ? 1 : 0; $data["usage_owner"] = $r->usage_owner ? 1 : 0; - if($r->object_type == "street") { + if($r->object_type == "building") { $data["usage_length"] = 1; $data["usage_pipe_on_plot"] = 1; $data["usage_pipe_in_building"] = 1;