Commit e37fe689 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Fix problem with uninitialised variable.

parent 32501e60
Pipeline #1367 passed with stage
in 2 minutes and 4 seconds
......@@ -645,6 +645,7 @@ class Link {
NAME_DOWNLOAD_MODE => '',
NAME_COLLECT_ELEMENTS => array(),
NAME_COPY_TO_CLIPBOARD => '',
NAME_ATTRIBUTE => '',
NAME_RENDER => '0',
NAME_RIGHT => 'l',
......@@ -1134,7 +1135,7 @@ EOF;
$attributes .= Support::doAttribute('class', $vars[FINAL_CLASS]);
$attributes .= Support::doAttribute('target', $vars[NAME_TARGET]);
$attributes .= Support::doAttribute('title', $vars[FINAL_TOOL_TIP]);
if ($vars[NAME_ATTRIBUTE] != '') {
if ( $vars[NAME_ATTRIBUTE] != '') {
$attributes .= $vars[NAME_ATTRIBUTE] . ' ';
}
$attributes .= $vars[FINAL_QUESTION];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment