Commit 3690cab5def725f161cb67c8bedcd4e18977a844
1 parent
19829ee8
added call to SiteMap::getActionFromPage
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@480 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
presentation/login.php
| ... | ... | @@ -71,7 +71,7 @@ if ($loginAction == "loginForm") { |
| 71 | 71 | |
| 72 | 72 | // check for a location to forward to |
| 73 | 73 | if (isset($redirect) && strlen(trim($redirect))>0) { |
| 74 | - $url = urldecode($redirect); | |
| 74 | + $url = generateControllerUrl($default->siteMap->getActionFromPage(urldecode($redirect))); | |
| 75 | 75 | // else redirect to the dashboard |
| 76 | 76 | } else { |
| 77 | 77 | $url = generateControllerUrl("dashboard"); | ... | ... |