Issue Bug Closed

#80209Wrong variable checked in getTitleField

Christer V 03/09/17, 13:52 updated 10/17/17, 23:30

Description

In BrowseLinksController::getTitleField the wrong variable is checked, which can cause an PHP warning since $title can become null instead of the empty string ‘’;


$title = !$this->classesAnchorDefault[$this->displayedLinkHandlerId] ? '' : $this->classesAnchorDefaultTitle[$this->displayedLinkHandlerId];

to


$title = !$this->classesAnchorDefaultTitle[$this->displayedLinkHandlerId] ? '' : $this->classesAnchorDefaultTitle[$this->displayedLinkHandlerId];

Reviews 3