|
@@ 5048-5050 (lines=3) @@
|
| 5045 |
|
} |
| 5046 |
|
|
| 5047 |
|
$row = $this->db->getRow($rs); |
| 5048 |
|
if (!isset($row['usertype']) || !$row['usertype']) { |
| 5049 |
|
$row['usertype'] = 'manager'; |
| 5050 |
|
} |
| 5051 |
|
|
| 5052 |
|
$this->tmpCache[__FUNCTION__][$uid] = $row; |
| 5053 |
|
|
|
@@ 5068-5070 (lines=3) @@
|
| 5065 |
|
$rs = $this->db->select('wu.username, wu.password, wua.*', $this->getFullTableName("web_users") . " wu |
| 5066 |
|
INNER JOIN " . $this->getFullTableName("web_user_attributes") . " wua ON wua.internalkey=wu.id", "wu.id='{$uid}'"); |
| 5067 |
|
if ($row = $this->db->getRow($rs)) { |
| 5068 |
|
if (!isset($row['usertype']) or !$row["usertype"]) { |
| 5069 |
|
$row["usertype"] = "web"; |
| 5070 |
|
} |
| 5071 |
|
return $row; |
| 5072 |
|
} |
| 5073 |
|
} |