first/last name instead ofj ust name, fix og migration instead of updating in second file sqlite issue
This commit is contained in:
@@ -90,7 +90,6 @@ class ContactUsComponent extends Component {
|
||||
'contactUsFormSubmission' => $contactUsFormSubmission,
|
||||
], $this->getController());
|
||||
$result = $event->getResult();
|
||||
|
||||
Log::debug(print_r('$result', true));
|
||||
Log::debug(print_r($result, true));
|
||||
if ($result instanceof EntityInterface) {
|
||||
@@ -104,15 +103,13 @@ class ContactUsComponent extends Component {
|
||||
if ($contactUsFormSubmissionSaved) {
|
||||
return $this->_afterFormSaved($contactUsFormSubmissionSaved);
|
||||
}
|
||||
|
||||
// @TODO contact us form submission failed - handle here
|
||||
}
|
||||
|
||||
if ($event->isStopped()) {
|
||||
return $this->getController()->redirect($event->getResult());
|
||||
}
|
||||
|
||||
if (!$this->getController()->getRequest()->is('post')) {
|
||||
if (!$postData) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user