Merge branch 'fronkdev' into 'master'

Fixed crash in AddressDB::handleRimoStatusUpdate()

See merge request fronk/thetool!1671
This commit is contained in:
Frank Schubert
2025-08-21 08:38:05 +00:00

View File

@@ -226,9 +226,9 @@ class AddressDB {
$log->debug(__METHOD__.": new Preorder Status flag: ".$matrix["pf"]);
$preorder = PreorderModel::getFirstActive(["adb_wohneinheit_id" => $wohneinheit->id]);
$preorder->resetSaveNesting();
if($preorder) {
$preorder->resetSaveNesting();
$preorderstatus = null;
$preorderstatus_flag = null;
if(array_key_exists("p", $matrix) && $matrix["p"]) {