diff --git a/templates/home.twig b/templates/home.twig
index bae169a..b7a703c 100644
--- a/templates/home.twig
+++ b/templates/home.twig
@@ -10,6 +10,8 @@
Info:
Hosts check is done every hour.
+ The problem with adding domains in the period from 08/28/22 to 09/15/22 has been fixed. Sorry for the inconvenience.
{# to be removed later #}
+
Supported commands:
- adding of hosts for 2LD domains (example.i2p)
diff --git a/views/add.php b/views/add.php
index f67a1b4..c2dcf5f 100644
--- a/views/add.php
+++ b/views/add.php
@@ -90,7 +90,7 @@ if (isset($_POST["record"]) && !empty($_POST["record"])) {
} else {
$base32 = $util->b32from64($parsed["b64"]);
- $STH = !$pdo->prepare('INSERT INTO `hosts` (`host`, `base64`, `base32`) VALUES (?, ?, ?)');
+ $STH = $pdo->prepare('INSERT INTO `hosts` (`host`, `base64`, `base32`) VALUES (?, ?, ?)');
if (!$STH->execute([$domain, $parsed["b64"], $base32])) {
$result["error"] = "Error happened while inserting record to database. Please try again later.";