Skip to content

Commit 23abe42

Browse files
committed
[AC-6980] "Integration not secure" warning showing in list of integration, if field values of "Callback URL" and "Identity link URL" are empty. #36407
1 parent 46fe3fe commit 23abe42

File tree

1 file changed

+2
-1
lines changed
  • app/code/Magento/Integration/Block/Adminhtml/Widget/Grid/Column/Renderer

1 file changed

+2
-1
lines changed

app/code/Magento/Integration/Block/Adminhtml/Widget/Grid/Column/Renderer/Name.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ public function render(\Magento\Framework\DataObject $row)
2222
{
2323
/** @var \Magento\Integration\Model\Integration $row */
2424
$text = parent::render($row);
25-
if (!$this->isUrlSecure($row->getEndpoint()) || !$this->isUrlSecure($row->getIdentityLinkUrl())) {
25+
if (($row->getEndpoint() && !$this->isUrlSecure($row->getEndpoint())) ||
26+
($row->getIdentityLinkUrl() && !$this->isUrlSecure($row->getIdentityLinkUrl()))) {
2627
$text .= '<span class="security-notice"><span>' . __("Integration not secure") . '</span></span>';
2728
}
2829
return $text;

0 commit comments

Comments
 (0)