Skip to content

Commit 8c53a48

Browse files
committed
Update PAGE-qrcode.php
1 parent 40d3e13 commit 8c53a48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pages/PAGE-qrcode.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
case "user":
1717
$_CORE->load("QRIN");
1818
$qr = $_CORE->QRIN->add($_POST["id"]);
19+
if ($qr===false) { exit("Invalid user"); }
1920
break;
2021
}
2122

0 commit comments

Comments
 (0)