Commit 71aeef77dfefde20b7f2dea8e1d47a71f4bf7e04
1 parent
d2960fe6
made queryString an optional parameter in controllerRedirect
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2341 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
lib/session/control.inc
| ... | ... | @@ -28,7 +28,7 @@ function redirect($url) { |
| 28 | 28 | * @param string the controller action |
| 29 | 29 | * @param string additional querystring vars |
| 30 | 30 | */ |
| 31 | -function controllerRedirect($sAction, $sQueryString) { | |
| 31 | +function controllerRedirect($sAction, $sQueryString = "") { | |
| 32 | 32 | global $default; |
| 33 | 33 | // generate url |
| 34 | 34 | $url = generateControllerUrl($sAction, $sQueryString); | ... | ... |