Change null to array(null)

master
dorian.hodin 2 years ago
parent 91ed0513c5
commit 820510e68a

@ -31,7 +31,7 @@ class GatewayUser
)); ));
$result = $this->connection->getResults(); $result = $this->connection->getResults();
if(empty($result)) if(empty($result))
return array(null,null); return array("-1","");
return $result[0]; return $result[0];
} }

Loading…
Cancel
Save