remove some logging
Release / build (push) Canceled after 0s
CI / testsuite (pgsql, 8.4, ) (push) Canceled after 0s
CI / testsuite (sqlite, 8.2, ) (push) Canceled after 0s
CI / testsuite (mysql, 8.2, ) (push) Canceled after 24s
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Canceled after 0s
CI / testsuite (sqlite, 8.4, ) (push) Canceled after 0s
CI / Coding Standard & Static Analysis (push) Canceled after 0s
CI / testsuite (mysql, 8.4, ) (push) Canceled after 11s
CI / testsuite (pgsql, 8.2, ) (push) Canceled after 19s

This commit is contained in:
bs
2026-08-26 20:37:50 -07:00
parent 92264827ae
commit 4ffaa507ec
@@ -92,8 +92,7 @@ class ContactUsComponent extends Component {
'contactUsFormSubmission' => $contactUsFormSubmission, 'contactUsFormSubmission' => $contactUsFormSubmission,
], $this->getController()); ], $this->getController());
$result = $event->getResult(); $result = $event->getResult();
Log::debug(print_r('$result', true));
Log::debug(print_r($result, true));
if ($result instanceof EntityInterface) { if ($result instanceof EntityInterface) {
$postData = $result->toArray(); $postData = $result->toArray();
$contactUsFormSubmission = $this->ContactUsFormSubmissions->patchEntity($contactUsFormSubmission, $postData); $contactUsFormSubmission = $this->ContactUsFormSubmissions->patchEntity($contactUsFormSubmission, $postData);
@@ -152,8 +151,6 @@ class ContactUsComponent extends Component {
$this->Flash->success($message); $this->Flash->success($message);
$redirectUrl = $this->getConfig('redirectUrl'); $redirectUrl = $this->getConfig('redirectUrl');
Log::debug(print_r('$contactUsFormSubmissionSaved after save', true));
Log::debug(print_r($contactUsFormSubmissionSaved, true));
if ($this->getConfig('addIdToRedirect')) { if ($this->getConfig('addIdToRedirect')) {
$redirectUrl[] = $contactUsFormSubmissionSaved->get($this->ContactUsFormSubmissions->getPrimaryKey()); $redirectUrl[] = $contactUsFormSubmissionSaved->get($this->ContactUsFormSubmissions->getPrimaryKey());
} }