[LON-CAPA-cvs] cvs: rat / lonpageflip.pm
www
lon-capa-cvs@mail.lon-capa.org
Mon, 08 Jul 2002 20:10:40 -0000
www Mon Jul 8 16:10:40 2002 EDT
Modified files:
/rat lonpageflip.pm
Log:
No need to check for "allowed" here.
Index: rat/lonpageflip.pm
diff -u rat/lonpageflip.pm:1.26 rat/lonpageflip.pm:1.27
--- rat/lonpageflip.pm:1.26 Sun Jul 7 17:04:47 2002
+++ rat/lonpageflip.pm Mon Jul 8 16:10:40 2002
@@ -2,7 +2,7 @@
#
# Page flip handler
#
-# $Id: lonpageflip.pm,v 1.26 2002/07/07 21:04:47 www Exp $
+# $Id: lonpageflip.pm,v 1.27 2002/07/08 20:10:40 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -53,13 +53,13 @@
sub addrid {
my ($current,$new,$condid)=@_;
unless ($condid) { $condid=0; }
- if (&Apache::lonnet::allowed('bre',$hash{'src_'.$new})) {
+
if ($current) {
$current.=','.$new;
} else {
$current=''.$new;
}
- }
+
return $current;
}