--- loncom/interface/lonwishlistdisplay.pm 2012/05/15 14:13:14 1.3 +++ loncom/interface/lonwishlistdisplay.pm 2012/08/03 01:26:33 1.4 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to display the wishlist (handler) # -# $Id: lonwishlistdisplay.pm,v 1.3 2012/05/15 14:13:14 raeburn Exp $ +# $Id: lonwishlistdisplay.pm,v 1.4 2012/08/03 01:26:33 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -55,8 +55,7 @@ sub handler { return OK; } - if ((&Apache::lonnet::allowed('bre',"/res/$env{'user.domain'}/")) || - (&Apache::lonnet::allowed('bro',"/res/$env{'user.domain'}/"))) { + if ($env{'user.adv'}) { &Apache::loncommon::content_type($r,'text/html'); $r->send_http_header; } else {