Commit 743fe0b1b7b299e92408bcd76b09e82876ecfebc

Authored by Michael Joseph
1 parent 818a885c

corrected substr params


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@754 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 2 additions and 2 deletions
presentation/login.php
@@ -84,8 +84,8 @@ if ($loginAction == "loginForm") { @@ -84,8 +84,8 @@ if ($loginAction == "loginForm") {
84 // need to strip owl_root_url off $redirect 84 // need to strip owl_root_url off $redirect
85 if (strlen($default->owl_root_url) > 0) { 85 if (strlen($default->owl_root_url) > 0) {
86 $tmp = urldecode($redirect); 86 $tmp = urldecode($redirect);
87 - $default->log->debug("login.php: substr($tmp, strpos($tmp, $default->owl_root_url), strlen($tmp))");  
88 - $redirect = substr($tmp, strpos($tmp, $default->owl_root_url), strlen($tmp)); 87 + $default->log->debug("login.php: substr($tmp, strpos($tmp, $default->owl_root_url)+strlen($default->owl_root_url), strlen($tmp))");
  88 + $redirect = substr($tmp, strpos($tmp, $default->owl_root_url)+strlen($default->owl_root_url), strlen($tmp));
89 $default->log->debug("login.php: redirect=$redirect"); 89 $default->log->debug("login.php: redirect=$redirect");
90 } 90 }
91 91