Skip to content

Commit

Permalink
com_contact: Fixing ignored loadData parameter for getForm (#42491)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackwar committed Dec 12, 2023
1 parent 7058430 commit 51f5c5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/com_contact/src/Model/ContactModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ protected function populateState()
*/
public function getForm($data = [], $loadData = true)
{
$form = $this->loadForm('com_contact.contact', 'contact', ['control' => 'jform', 'load_data' => true]);
$form = $this->loadForm('com_contact.contact', 'contact', ['control' => 'jform', 'load_data' => $loadData]);

if (empty($form)) {
return false;
Expand Down

0 comments on commit 51f5c5c

Please sign in to comment.