--- rat/lonpageflip.pm 2002/07/07 21:04:47 1.26 +++ rat/lonpageflip.pm 2002/07/08 20:10:40 1.27 @@ -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 @@ my %hash; 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; }