Rimo Import: Checking if FCP Status Matrix exists before using it

This commit is contained in:
Frank Schubert
2025-12-16 01:39:44 +01:00
parent 54ade253c2
commit 67024e0be2
+2
View File
@@ -1045,6 +1045,7 @@ foreach ($clusters as $cluster_data) {
$fcp->update((array)$fcp);
// see if buildings and preorders need to get flag 141 set
if(defined("TT_PREORDER_RIMO_FCP_STATUS_MATRIX")) {
foreach (TT_PREORDER_RIMO_FCP_STATUS_MATRIX as $matrix) {
if (!$matrix["pf"] && !$matrix["hf"]) {
continue;
@@ -1074,6 +1075,7 @@ foreach ($clusters as $cluster_data) {
}
}
}
}
}