@@ 4781-4783 (lines=3) @@ | ||
4778 | } |
|
4779 | ||
4780 | $row = $this->getDatabase()->getRow($rs); |
|
4781 | if (!isset($row['usertype']) || !$row['usertype']) { |
|
4782 | $row['usertype'] = 'manager'; |
|
4783 | } |
|
4784 | ||
4785 | $this->tmpCache[__FUNCTION__][$uid] = $row; |
|
4786 | ||
@@ 4806-4808 (lines=3) @@ | ||
4803 | "wu.id='{$uid}'" |
|
4804 | ); |
|
4805 | if ($row = $this->getDatabase()->getRow($rs)) { |
|
4806 | if (!isset($row['usertype']) or !$row['usertype']) { |
|
4807 | $row['usertype'] = 'web'; |
|
4808 | } |
|
4809 | return $row; |
|
4810 | } |
|
4811 | } |