Fixed Invalid ID

This commit is contained in:
hakasenyang
2017-04-10 02:57:33 +09:00
parent 5bd5a9b96d
commit 294c8f0329
2 changed files with 12 additions and 1 deletions
+8
View File
@@ -5,6 +5,11 @@
function GetDataTest()
{
global $Check;
if(empty($Check->RealID) || empty($Check->OsuID))
{
echo '<br>User not found<br><br>';
return false;
}
echo $Check->RealID . ' (' . $Check->OsuID . ')';
if ($Check->Occupation_Set === $Check->Occupation)
@@ -28,6 +33,9 @@
$Check->CheckUser('angelsIm', 0);
GetDataTest();
$Check->CheckUser('didisksks', 0);
GetDataTest();
$Check->CheckUser('peppy', 0);
GetDataTest();