From 3da096142d44c31e180fb54c02ae9e9ff01b7dda Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 17 Jul 2019 16:52:02 +0200 Subject: [roomplanner] First prototype of composed room editor Saving/loading works, but no entry is generated for pvs.ini. Also this approach fails to meaningfully handle rooms with two removable walls where you also want to use both possible combinations of two combined rooms and a single one. --- modules-available/locations/page.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules-available/locations') diff --git a/modules-available/locations/page.inc.php b/modules-available/locations/page.inc.php index 5b3d7ff0..658b4b18 100644 --- a/modules-available/locations/page.inc.php +++ b/modules-available/locations/page.inc.php @@ -545,7 +545,7 @@ class Page_Locations extends Page 'locationid' => $loc['locationid'], 'locationname' => $loc['locationname'], 'list' => $rows, - 'roomplanner' => Module::get('roomplanner') !== false && Location::isLeaf($locationId), + 'roomplanner' => Module::get('roomplanner') !== false, 'parents' => Location::getLocations($loc['parentlocationid'], $locationId, true) ); -- cgit v1.2.3-55-g7522