- Affected version
- 1.4.1
		PHP:
	
	protected function getContentTypeId($contentType)
{
    if (empty($this->session->extra['contentTypeId']))
    {
        $this->session->extra['contentTypeId'] = $this->sourceDb->fetchPairs("
            SELECT class, contenttypeid
            FROM contenttype
        ");
    }
    return $this->session->extra['contentTypeId'][$contentType];
}This code does assume that field
class in table contenttype is unique - this is not necessarily the case, it is only guaranteed to be unique for the package the contenttype does belong to (field packageid).A correct/fully qualified contenttype would be
vBForum:Post, not just Post. 
 
		