|
@@ 5036-5038 (lines=3) @@
|
| 5033 |
|
} |
| 5034 |
|
|
| 5035 |
|
$row = $this->db->getRow($rs); |
| 5036 |
|
if (!isset($row['usertype']) || !$row['usertype']) { |
| 5037 |
|
$row['usertype'] = 'manager'; |
| 5038 |
|
} |
| 5039 |
|
|
| 5040 |
|
$this->tmpCache[__FUNCTION__][$uid] = $row; |
| 5041 |
|
|
|
@@ 5056-5058 (lines=3) @@
|
| 5053 |
|
$rs = $this->db->select('wu.username, wu.password, wua.*', $this->getFullTableName("web_users") . " wu |
| 5054 |
|
INNER JOIN " . $this->getFullTableName("web_user_attributes") . " wua ON wua.internalkey=wu.id", "wu.id='{$uid}'"); |
| 5055 |
|
if ($row = $this->db->getRow($rs)) { |
| 5056 |
|
if (!isset($row['usertype']) or !$row["usertype"]) { |
| 5057 |
|
$row["usertype"] = "web"; |
| 5058 |
|
} |
| 5059 |
|
return $row; |
| 5060 |
|
} |
| 5061 |
|
} |