diff --git a/application/models/FailedEmail.php b/application/models/FailedEmail.php index 14e088a601d..b273a97043c 100644 --- a/application/models/FailedEmail.php +++ b/application/models/FailedEmail.php @@ -211,7 +211,7 @@ public function getButtons(): string public function getResponseUrl(): string { $survey = Survey::model()->findByPk($this->surveyid); - if ( $survey !== null && $survey->hasResponsesTable) { + if ($survey !== null && $survey->hasResponsesTable) { $response = Response::model($this->surveyid)->findByPk($this->responseid); if (!empty($response)) { $responseUrl = App()->createUrl("responses/view/", ['surveyId' => $this->surveyid, 'id' => $this->responseid]);