mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-12 01:50:48 +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();
|
||||
|
||||
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']]);
|
||||
|
Loading…
Reference in New Issue
Block a user