From 7571df84c852a767b04513452bb7b2458fe7d63e Mon Sep 17 00:00:00 2001 From: perdedora <89118232+perdedora@users.noreply.github.com> Date: Mon, 28 Nov 2022 22:10:20 +0000 Subject: [PATCH] break to avoid undefined error (#514) --- securimage.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/securimage.php b/securimage.php index 3e50e02d..324ffe44 100644 --- a/securimage.php +++ b/securimage.php @@ -56,8 +56,9 @@ switch ($mode) { $ary = $query->fetchAll(); - if (!$ary) { + if (!$ary) { // captcha expired echo "0"; + break; } else { $query = prepare("DELETE FROM `captchas` WHERE `cookie` = ? AND `extra` = ?"); $query->execute([$_GET['cookie'], $_GET['extra']]);