|
@@ 5302-5304 (lines=3) @@
|
| 5299 |
|
} |
| 5300 |
|
|
| 5301 |
|
$row = $this->getDatabase()->getRow($rs); |
| 5302 |
|
if (!isset($row['usertype']) || !$row['usertype']) { |
| 5303 |
|
$row['usertype'] = 'manager'; |
| 5304 |
|
} |
| 5305 |
|
|
| 5306 |
|
$this->tmpCache[__FUNCTION__][$uid] = $row; |
| 5307 |
|
|
|
@@ 5322-5324 (lines=3) @@
|
| 5319 |
|
$rs = $this->getDatabase()->select('wu.username, wu.password, wua.*', $this->getFullTableName("web_users") . " wu |
| 5320 |
|
INNER JOIN " . $this->getFullTableName("web_user_attributes") . " wua ON wua.internalkey=wu.id", "wu.id='{$uid}'"); |
| 5321 |
|
if ($row = $this->getDatabase()->getRow($rs)) { |
| 5322 |
|
if (!isset($row['usertype']) or !$row["usertype"]) { |
| 5323 |
|
$row["usertype"] = "web"; |
| 5324 |
|
} |
| 5325 |
|
return $row; |
| 5326 |
|
} |
| 5327 |
|
} |