|
@@ 5227-5229 (lines=3) @@
|
| 5224 |
|
} |
| 5225 |
|
|
| 5226 |
|
$row = $this->db->getRow($rs); |
| 5227 |
|
if (!isset($row['usertype']) || !$row['usertype']) { |
| 5228 |
|
$row['usertype'] = 'manager'; |
| 5229 |
|
} |
| 5230 |
|
|
| 5231 |
|
$this->tmpCache[__FUNCTION__][$uid] = $row; |
| 5232 |
|
|
|
@@ 5248-5250 (lines=3) @@
|
| 5245 |
|
INNER JOIN " . $this->getFullTableName("web_user_attributes") . " wua ON wua.internalkey=wu.id", |
| 5246 |
|
"wu.id='{$uid}'"); |
| 5247 |
|
if ($row = $this->db->getRow($rs)) { |
| 5248 |
|
if (!isset($row['usertype']) or !$row["usertype"]) { |
| 5249 |
|
$row["usertype"] = "web"; |
| 5250 |
|
} |
| 5251 |
|
|
| 5252 |
|
return $row; |
| 5253 |
|
} |