From a6b69bf89497527cd1e2e844e39c878037839265 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Gro=C3=9Fe?= Date: Thu, 20 Apr 2017 13:05:38 +0200 Subject: [PATCH] fix the double-colon in the dashboard-link SPR-941 --- tpl/nav-usertools-buttons.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tpl/nav-usertools-buttons.php b/tpl/nav-usertools-buttons.php index 626032f..278d3f4 100755 --- a/tpl/nav-usertools-buttons.php +++ b/tpl/nav-usertools-buttons.php @@ -36,6 +36,7 @@ $userpage = $doplugin->getConf('userpage'); if ($userpage && $_SERVER['REMOTE_USER'] && $num > 0) { $linktarget = sprintf($userpage, $_SERVER['REMOTE_USER']) . ':' . 'dashboard'; + $linktarget = str_replace('::', ':', $linktarget); echo '
  • '.$doInner.'
  • '; } else { echo '
  • '.$doInner.'
  • ';