Rimo Import: Checking if FCP Status Matrix exists before using it
This commit is contained in:
@@ -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) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user