fix the double-colon in the dashboard-link
SPR-941
This commit is contained in:
parent
9a3784cf2f
commit
a6b69bf894
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@
|
||||||
$userpage = $doplugin->getConf('userpage');
|
$userpage = $doplugin->getConf('userpage');
|
||||||
if ($userpage && $_SERVER['REMOTE_USER'] && $num > 0) {
|
if ($userpage && $_SERVER['REMOTE_USER'] && $num > 0) {
|
||||||
$linktarget = sprintf($userpage, $_SERVER['REMOTE_USER']) . ':' . 'dashboard';
|
$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>';
|
echo '<li class="user-task" title="'.$title.'"><a href="'.wl($linktarget).'">'.$doInner.'</a></li>';
|
||||||
} else {
|
} else {
|
||||||
echo '<li class="user-task" title="'.$title.'"><strong>'.$doInner.'</strong></li>';
|
echo '<li class="user-task" title="'.$title.'"><strong>'.$doInner.'</strong></li>';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue