✨️ avoid "missing index" warnings
This commit is contained in:
parent
4bcc4cf1fb
commit
9b45d4a1fa
2 changed files with 6 additions and 4 deletions
|
@ -74,7 +74,9 @@ abstract class CRM_TwingleCampaign_BAO_Campaign {
|
|||
);
|
||||
|
||||
// Set id
|
||||
$values_prepared_for_import['id'] = $this->id;
|
||||
if (isset($this->id)) {
|
||||
$values_prepared_for_import['id'] = $this->id;
|
||||
}
|
||||
|
||||
// Set a flag to not trigger the hook
|
||||
if ($no_hook) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue