fix the double-colon in the dashboard-link

SPR-941
This commit is contained in:
Michael Große 2017-04-20 13:05:38 +02:00
commit a6b69bf894
No known key found for this signature in database
GPG key ID: 7E31028FBFEACC79

View file

@ -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 '<li class="user-task" title="'.$title.'"><a href="'.wl($linktarget).'">'.$doInner.'</a></li>';
} else {
echo '<li class="user-task" title="'.$title.'"><strong>'.$doInner.'</strong></li>';