Update blueweather.php
This commit is contained in:
parent
bcd5d1014a
commit
9dfa1cba4d
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ class BlueWeather
|
||||||
*/
|
*/
|
||||||
public function getUserInfo($userId)
|
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)."\"";
|
WHERE`id`=\"".$this->_con->real_escape_string($userId)."\"";
|
||||||
$result = $this->_con->query($sql);
|
$result = $this->_con->query($sql);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue