|
@@ 5341-5343 (lines=3) @@
|
| 5338 |
|
} |
| 5339 |
|
|
| 5340 |
|
$row = $this->getDatabase()->getRow($rs); |
| 5341 |
|
if (!isset($row['usertype']) || !$row['usertype']) { |
| 5342 |
|
$row['usertype'] = 'manager'; |
| 5343 |
|
} |
| 5344 |
|
|
| 5345 |
|
$this->tmpCache[__FUNCTION__][$uid] = $row; |
| 5346 |
|
|
|
@@ 5361-5363 (lines=3) @@
|
| 5358 |
|
$rs = $this->getDatabase()->select('wu.username, wu.password, wua.*', $this->getDatabase()->getFullTableName("web_users") . " wu |
| 5359 |
|
INNER JOIN " . $this->getDatabase()->getFullTableName("web_user_attributes") . " wua ON wua.internalkey=wu.id", "wu.id='{$uid}'"); |
| 5360 |
|
if ($row = $this->getDatabase()->getRow($rs)) { |
| 5361 |
|
if (!isset($row['usertype']) or !$row["usertype"]) { |
| 5362 |
|
$row["usertype"] = "web"; |
| 5363 |
|
} |
| 5364 |
|
return $row; |
| 5365 |
|
} |
| 5366 |
|
} |