Code Duplication    Length = 3-3 lines in 2 locations

manager/includes/document.parser.class.inc.php 2 locations

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