[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface lonpreferences.pm
raeburn
raeburn at source.lon-capa.org
Wed Mar 11 22:58:34 EDT 2015
raeburn Thu Mar 12 02:58:34 2015 EDT
Modified files: (Branch: version_2_11_X)
/loncom/interface lonpreferences.pm
Log:
- For 2.11
Backport 1.214
Index: loncom/interface/lonpreferences.pm
diff -u loncom/interface/lonpreferences.pm:1.196.4.15 loncom/interface/lonpreferences.pm:1.196.4.16
--- loncom/interface/lonpreferences.pm:1.196.4.15 Mon Jun 9 22:39:01 2014
+++ loncom/interface/lonpreferences.pm Thu Mar 12 02:58:33 2015
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Preferences
#
-# $Id: lonpreferences.pm,v 1.196.4.15 2014/06/09 22:39:01 raeburn Exp $
+# $Id: lonpreferences.pm,v 1.196.4.16 2015/03/12 02:58:33 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -789,7 +789,7 @@
my $textbottom=&mt('Changing roles or logging out may result in data corruption.');
my ($num,%which)=&Apache::lonnet::get_locks();
my $which='';
- foreach my $id (keys %which) {
+ foreach my $id (keys(%which)) {
$which.='<li>'.$which{$id}.'</li>';
}
my $change=&mt('Override');
@@ -1220,7 +1220,7 @@
);
my $message='';
- foreach my $item (keys %colortypes) {
+ foreach my $item (keys(%colortypes)) {
my $color=$env{'form.'.$item};
if (!($color =~ /^#/)) {
$color = '#' . $color;
More information about the LON-CAPA-cvs
mailing list