mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-27 17:00:52 +01:00
break to avoid undefined error (#514)
This commit is contained in:
parent
c8f88c14a8
commit
7571df84c8
@ -56,8 +56,9 @@ switch ($mode) {
|
|||||||
|
|
||||||
$ary = $query->fetchAll();
|
$ary = $query->fetchAll();
|
||||||
|
|
||||||
if (!$ary) {
|
if (!$ary) { // captcha expired
|
||||||
echo "0";
|
echo "0";
|
||||||
|
break;
|
||||||
} else {
|
} else {
|
||||||
$query = prepare("DELETE FROM `captchas` WHERE `cookie` = ? AND `extra` = ?");
|
$query = prepare("DELETE FROM `captchas` WHERE `cookie` = ? AND `extra` = ?");
|
||||||
$query->execute([$_GET['cookie'], $_GET['extra']]);
|
$query->execute([$_GET['cookie'], $_GET['extra']]);
|
||||||
|
Loading…
Reference in New Issue
Block a user