diff --git a/htdocs/index.php b/htdocs/index.php index cf14b04..5190e13 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -19,6 +19,9 @@ if ($_SERVER["REQUEST_METHOD"] === "POST") { $resticData = file_get_contents("php://input"); $resticData = explode("\n", $resticData); + if (count($resticData) <= 1) { + exit(); + } $backups = []; foreach ($resticData as $snapshot) { if (