Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Rias500/craft-contact-form-extens…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
Rias committed Apr 1, 2019
2 parents 9acfde8 + 88edf90 commit 2e5a4f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/models/RecaptchaV3.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function render($action = 'homepage')
HTML;

if ($this->hideBadge) {
$html .= '<style>.grecaptcha-badge{display:none;!important}</style>' . PHP_EOL;
$html .= '<style>.grecaptcha-badge{display:none;!important}</style>'.PHP_EOL;
}

return $html;
Expand Down
3 changes: 2 additions & 1 deletion src/services/ContactFormExtensionsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,11 @@ class ContactFormExtensionsService extends Component
*
* @param Submission $submission
*
* @return mixed
* @throws Exception
* @throws \Throwable
* @throws \craft\errors\ElementNotFoundException
*
* @return mixed
*/
public function saveSubmission(Submission $submission)
{
Expand Down

0 comments on commit 2e5a4f9

Please sign in to comment.