--- loncom/interface/loncommon.pm 2013/01/09 03:56:27 1.1110 +++ loncom/interface/loncommon.pm 2013/01/15 17:37:45 1.1111 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.1110 2013/01/09 03:56:27 raeburn Exp $ +# $Id: loncommon.pm,v 1.1111 2013/01/15 17:37:45 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -11626,7 +11626,7 @@ sub cleanup_empty_dirs { my $numitems = 0; foreach my $item (@dircontents) { if (-d "$path/$item") { - &recurse_dirs("$path/$item"); + &cleanup_empty_dirs("$path/$item"); if (-e "$path/$item") { $numitems ++; }