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