/** * @param int|null $iUserId * @param string $sWhere * @param bool $bIgnoreHideInGab = false * @param int $iSharedTenantId = null * @param bool $bIgnoreAutoCreate = false * * @return string */ protected function getContactByWhere($iUserId, $sWhere, $bIgnoreHideInGab = false, $iSharedTenantId = null, $bIgnoreAutoCreate = false) { return parent::getContactByWhere($iUserId, $sWhere, $bIgnoreHideInGab, $iSharedTenantId, $bIgnoreAutoCreate) . ' LIMIT 1'; }