Update blueweather.php

This commit is contained in:
Dorian Zedler 2019-09-02 10:16:06 +00:00
parent bcd5d1014a
commit 9dfa1cba4d

View file

@ -119,7 +119,7 @@ class BlueWeather
*/
public function getUserInfo($userId)
{
$sql = "SELECT username,realname FROM `users`
$sql = "SELECT username,realname,email FROM `users`
WHERE`id`=\"".$this->_con->real_escape_string($userId)."\"";
$result = $this->_con->query($sql);