Skip to content
Snippets Groups Projects
Unverified Commit 1f2aed5f authored by Seamus Lee's avatar Seamus Lee Committed by GitHub
Browse files

Merge pull request #20509 from seamuslee001/fix_beautifier_notice

[php8-compat] Fix php beautifier notice by conditionally assinging dy…
parents 432fa397 3053b963
Branches 5.65
Tags 5.65.2
No related merge requests found
......@@ -287,7 +287,9 @@ class CRM_Core_CodeGen_Specification {
$this->getDynamicForeignKey($foreignXML, $dynamicForeign, $name);
}
}
$table['dynamicForeignKey'] = $dynamicForeign;
if (!empty($dynamicForeign)) {
$table['dynamicForeignKey'] = $dynamicForeign;
}
}
$tables[$name] = &$table;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment