Skip to content

Commit 4fa3424

Browse files
Soskomichalsn
andauthored
Update system/Honeypot/Honeypot.php
Co-authored-by: Michal Sniatala <michal@sniatala.pl>
1 parent de9be9e commit 4fa3424

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

system/Honeypot/Honeypot.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ function __construct(BaseConfig $config)
7878
$this->config->hiddenByClass = null;
7979
}
8080

81-
if (!$this->config->hiddenContainer)
81+
if (empty($this->config->container) || strpos($this->config->container, '%s') === false)
8282
{
83-
$this->config->hiddenContainer = '<div %s>%s</div>';
83+
$this->config->container = '<div style="display:none">%s</div>';
8484
}
8585

8686
if ($this->config->template === '')

0 commit comments

Comments
 (0)