MDL-41598 auth_shibboleth: don't override wantsurl

This commit is contained in:
Charles Fulton
2014-02-14 10:51:17 -08:00
parent 692d247a3a
commit f09afcdd28
+1 -1
View File
@@ -8,7 +8,7 @@
// Support for WAYFless URLs.
$target = optional_param('target', '', PARAM_LOCALURL);
if (!empty($target)) {
if (!empty($target) && empty($SESSION->wantsurl)) {
$SESSION->wantsurl = $target;
}