Browse Source

Fixed bad call in get()

tags/v1.3^2
Teknikode 6 years ago
parent
commit
24bf5d5f2b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      includes/classes/UserTools.class.php

+ 1
- 1
includes/classes/UserTools.class.php View File

@@ -137,7 +137,7 @@ class UserTools {
public function get($id)
{
$result = $this->db->select('users', "id=?", array($id));
return new UserUser($result, $this->db);
return new User($result, $this->db);
}
// check if user has a specific privilege

Loading…
Cancel
Save