Assume uninitialized constant PLUGIN_LINK_SPARTACUS.

Fixes #638.

Backported from master branch.

Signed-off-by: Thomas Hochstein <thh@inter.net>
This commit is contained in:
Thomas Hochstein 2019-10-13 17:35:58 +02:00
parent a2ad0bd9b5
commit 5f8744e414

View File

@ -163,7 +163,7 @@ function show_plugins($event_only = false, $sidebars = null)
$spartacus_type = 'sidebar'; $spartacus_type = 'sidebar';
} }
$desc .= sprintf('<span class="block_level"><a href="http://spartacus.s9y.org/index.php?mode=bygroups_%s_%s#%s">%s</a></span>', $desc .= sprintf('<span class="block_level"><a href="http://spartacus.s9y.org/index.php?mode=bygroups_%s_%s#%s">%s</a></span>',
$spartacus_type, $serendipity['lang'], $plugin_data['path'], PLUGIN_LINK_SPARTACUS); $spartacus_type, $serendipity['lang'], $plugin_data['path'], (defined('PLUGIN_LINK_SPARTACUS') ? PLUGIN_LINK_SPARTACUS : 'PLUGIN_LINK_SPARTACUS'));
} }
$desc .= '<span class="block_level">' . ucfirst(VERSION) . ': ' . $bag->get('version') . '</span>'; $desc .= '<span class="block_level">' . ucfirst(VERSION) . ': ' . $bag->get('version') . '</span>';
$desc .= '</details>'; $desc .= '</details>';