diff --git a/api/blueweather.php b/api/blueweather.php index 1ecb8d0..ee016d1 100755 --- a/api/blueweather.php +++ b/api/blueweather.php @@ -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);