--- loncom/interface/londocs.pm 2014/10/14 21:01:23 1.585 +++ loncom/interface/londocs.pm 2014/10/15 07:24:43 1.586 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.585 2014/10/14 21:01:23 raeburn Exp $ +# $Id: londocs.pm,v 1.586 2014/10/15 07:24:43 droeschl Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2810,7 +2810,7 @@ sub editor { my ($name,$url)=split(/\:/,$LONCAPA::map::resources[$res]); $name=&LONCAPA::map::qtescape($name); $url=&LONCAPA::map::qtescape($url); - next unless ($name && $url); + next unless $url; my %denied = &action_restrictions($coursenum,$coursedom,$url, $env{'form.folderpath'},\%curr_groups);