version 1.14, 2021/12/12 20:49:26
|
version 1.15, 2022/06/18 02:10:18
|
Line 293 sub set_token {
|
Line 293 sub set_token {
|
&Apache::lonacc::get_posted_cgi($r,['linkkey']); |
&Apache::lonacc::get_posted_cgi($r,['linkkey']); |
} |
} |
} |
} |
|
unless (($r->is_initial_req()) || ($env{'form.ltoken'}) || |
|
($env{'form.linkkey'})) { |
|
return; |
|
} |
} |
} |
my $extras; |
my $extras; |
foreach my $name (@names) { |
foreach my $name (@names) { |
Line 302 sub set_token {
|
Line 306 sub set_token {
|
&Apache::lonnet::tmpdel($env{'form.ltoken'}); |
&Apache::lonnet::tmpdel($env{'form.ltoken'}); |
if ($info{'linkprot'}) { |
if ($info{'linkprot'}) { |
$extras .= '&linkprot='.&escape($info{'linkprot'}); |
$extras .= '&linkprot='.&escape($info{'linkprot'}); |
|
if ($info{'linkprotuser'} ne '') { |
|
$extras .= '&linkprotuser='.&escape($info{'linkprotuser'}); |
|
} |
last; |
last; |
} |
} |
} else { |
} else { |