diff --git a/api_v3/lib/types/partner/KalturaPartner.php b/api_v3/lib/types/partner/KalturaPartner.php index 1e94e598034..8d92d8e5b48 100644 --- a/api_v3/lib/types/partner/KalturaPartner.php +++ b/api_v3/lib/types/partner/KalturaPartner.php @@ -546,6 +546,9 @@ public function doFromObject($partner, KalturaDetachedResponseProfile $responseP $this->describeYourself = kString::stripUtf8InvalidChars($this->describeYourself); $this->additionalParams = KalturaKeyValueArray::fromKeyValueArray($partner->getAdditionalParams()); $this->allowDefaultPasswordRestrictions = !$partner->getEnabledService(PermissionName::FEATURE_DISABLE_PASSWORD_RESTRICTION); + + //Cast old partner values that were created when the system partner config object exposed this field as string + $this->verticalClassificationId = intval($this->verticalClassificationId); if (!$this->host){ $this->host = null; } diff --git a/plugins/admin_console/system_partner/lib/api/KalturaSystemPartnerConfiguration.php b/plugins/admin_console/system_partner/lib/api/KalturaSystemPartnerConfiguration.php index b8abe671c62..7a1ebf70479 100644 --- a/plugins/admin_console/system_partner/lib/api/KalturaSystemPartnerConfiguration.php +++ b/plugins/admin_console/system_partner/lib/api/KalturaSystemPartnerConfiguration.php @@ -224,7 +224,7 @@ class KalturaSystemPartnerConfiguration extends KalturaObject public $crmLink; /** - * @var string + * @var int */ public $verticalClasiffication;