Commit ffef4356 authored by Luke081515's avatar Luke081515
Browse files

fix it!

parent 05665cb8
Pipeline #813 failed with stages
in 23 minutes and 26 seconds
......@@ -644,6 +644,7 @@ class Core extends Password {
public function checkUserExistence($username) {
$result = $this->httpRequest('action=query&format=json&list=users&usprop=&ususers=' . urlencode($username), $this->job, 'GET');
$result = json_decode($result, true);
if (isset($result['query']['users'][0]['missing']))
return false;
return true;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment