ConstructionConsent: Fixed saving length if object_type is building

This commit is contained in:
Frank Schubert
2025-02-27 16:03:25 +01:00
parent 85f55bc073
commit af80f31037

View File

@@ -219,7 +219,6 @@ class ConstructionConsentController extends mfBaseController {
$data["usage_owner"] = $r->usage_owner ? 1 : 0;
if($r->object_type == "building") {
$data["usage_length"] = 1;
$data["usage_pipe_on_plot"] = 1;
$data["usage_pipe_in_building"] = 1;
$data["usage_manhole"] = 1;