--- loncom/interface/lonuserutils.pm 2013/12/06 12:11:09 1.157 +++ loncom/interface/lonuserutils.pm 2013/12/09 18:47:18 1.158 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Utility functions for managing LON-CAPA user accounts # -# $Id: lonuserutils.pm,v 1.157 2013/12/06 12:11:09 bisitz Exp $ +# $Id: lonuserutils.pm,v 1.158 2013/12/09 18:47:18 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2469,7 +2469,7 @@ sub show_users_list { @sortable = ('username','fullname','email','status'); } my %is_sortable; - map { $is_sortable{$_} => 1; } @sortable; + map { $is_sortable{$_} = 1; } @sortable; unless ($is_sortable{$sortby}) { $sortby = 'username'; }