From 5f8744e41486876a47b25c8157e9c729aa923d25 Mon Sep 17 00:00:00 2001 From: Thomas Hochstein Date: Sun, 13 Oct 2019 17:35:58 +0200 Subject: [PATCH] Assume uninitialized constant PLUGIN_LINK_SPARTACUS. Fixes #638. Backported from master branch. Signed-off-by: Thomas Hochstein --- include/functions_plugins_admin.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions_plugins_admin.inc.php b/include/functions_plugins_admin.inc.php index 74c99c19..b19384ba 100644 --- a/include/functions_plugins_admin.inc.php +++ b/include/functions_plugins_admin.inc.php @@ -163,7 +163,7 @@ function show_plugins($event_only = false, $sidebars = null) $spartacus_type = 'sidebar'; } $desc .= sprintf('%s', - $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 .= '' . ucfirst(VERSION) . ': ' . $bag->get('version') . ''; $desc .= '';