Skip to content

Commit

Permalink
Merge pull request #73 from NicolasCador/patch-1
Browse files Browse the repository at this point in the history
Undefined array key 0 in Subject select input
  • Loading branch information
Hlavtox authored Jan 10, 2024
2 parents 2554f56 + 56a35f2 commit fa319c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contactform.php
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ public function getTemplateVarContact()
$contacts[$one_contact['id_contact']] = $one_contact;
}

if (isset($this->customer_thread['id_contact'])) {
if (!empty($this->customer_thread['id_contact'])) {
return [
$contacts[$this->customer_thread['id_contact']],
];
Expand Down

0 comments on commit fa319c7

Please sign in to comment.