If title is not set, _link_sanitize still tries to trim it.

  elseif (drupal_strlen(trim($item['title']))) {
    $title = $item['title'];
  }

Comments

criznach created an issue. See original summary.

romixua’s picture

Assigned: Unassigned » romixua
Issue tags: +epam-contrib-2019.03
IreneV’s picture

Assigned: romixua » IreneV
IreneV’s picture

Status: Active » Fixed

Already fixed.
In latest module version:

elseif (isset($item['title']) && drupal_strlen(trim($item['title']))) {
$title = $item['title'];
}

IreneV’s picture

pifagor’s picture

ram4nd’s picture

Issue tags: -epam-contrib-2019.03
sportch’s picture

I don't think the isset code from #4 is in link 7.x-1.6 ??

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

AlexandreNarten’s picture

I concur with sportch. the code from #4 is not in link 7.x-1.6. It is in the 7.x-dev.
When is the next release?

strykaizer’s picture

For more info: issue #2974486 has the relevant patch which is in dev