[LON-CAPA-cvs] cvs: loncom /interface lonsimplepage.pm
raeburn
lon-capa-cvs-allow@mail.lon-capa.org
Mon, 10 Sep 2007 19:22:22 -0000
raeburn Mon Sep 10 15:22:22 2007 EDT
Modified files:
/loncom/interface lonsimplepage.pm
Log:
Fixing breakage to display of links to group tools introduced in rev 1.51 (testing would be nice).
- scope
Index: loncom/interface/lonsimplepage.pm
diff -u loncom/interface/lonsimplepage.pm:1.51 loncom/interface/lonsimplepage.pm:1.52
--- loncom/interface/lonsimplepage.pm:1.51 Thu Jul 12 20:29:21 2007
+++ loncom/interface/lonsimplepage.pm Mon Sep 10 15:22:22 2007
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Simple Page Editor
#
-# $Id: lonsimplepage.pm,v 1.51 2007/07/13 00:29:21 albertel Exp $
+# $Id: lonsimplepage.pm,v 1.52 2007/09/10 19:22:22 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -91,7 +91,7 @@
my %curr_group = ();
my %groupinfo = ();
if ($db_name =~ /^grppage_/) {
- my ($group)=(split(m{/},$r->uri))[4];
+ $group = (split(m{/},$r->uri))[4];
$group =~ s/\W//g;
my %curr_groups = &Apache::longroup::coursegroups($dom,$crs,$group);
if (!%curr_groups) {