Return to lonnet.pm CVS log | Up to [LON-CAPA] / loncom / lonnet / perl |
version 1.247, 2002/06/27 16:03:55 | version 1.248, 2002/06/27 19:04:15 |
---|---|
Line 1741 sub allowed { | Line 1741 sub allowed { |
if ($thisallowed=~/X/) { | if ($thisallowed=~/X/) { |
if ($ENV{'acc.randomout'}) { | if ($ENV{'acc.randomout'}) { |
my $symb=&symbread(); | my $symb=&symbread($uri); |
if ($ENV{'acc.randomout'}=~/\&$symb\&/) { return ''; } | if (($symb) && ($ENV{'acc.randomout'}=~/\&$symb\&/)) { |
return ''; | |
} | |
} | } |
if (&condval($statecond)) { | if (&condval($statecond)) { |
return '2'; | return '2'; |