[LON-CAPA-cvs] cvs: loncom /interface lonsimplepage.pm

raeburn lon-capa-cvs@mail.lon-capa.org
Wed, 16 Nov 2005 13:17:30 -0000


raeburn		Wed Nov 16 08:17:30 2005 EDT

  Modified files:              
    /loncom/interface	lonsimplepage.pm 
  Log:
  Use correct namespace in calls to lonnet::put().
  
  
Index: loncom/interface/lonsimplepage.pm
diff -u loncom/interface/lonsimplepage.pm:1.29 loncom/interface/lonsimplepage.pm:1.30
--- loncom/interface/lonsimplepage.pm:1.29	Wed Nov 16 07:47:59 2005
+++ loncom/interface/lonsimplepage.pm	Wed Nov 16 08:17:30 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Simple Page Editor
 #
-# $Id: lonsimplepage.pm,v 1.29 2005/11/16 12:47:59 raeburn Exp $
+# $Id: lonsimplepage.pm,v 1.30 2005/11/16 13:17:30 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -193,7 +193,7 @@
             }
 	}
 	$syllabus{'uploaded.lastmodified'}=time;
-	&Apache::lonnet::put($caller.'_'.$marker,\%syllabus,$dom,$crs);
+	&Apache::lonnet::put($namespace,\%syllabus,$dom,$crs);
     }
     if (($allowed) && ($env{'form.storesyl'})) {
 	foreach (keys %syllabusfields) {
@@ -206,7 +206,7 @@
 	    $syllabus{$_}=$field;
 	}
 	$syllabus{'uploaded.lastmodified'}=time;
-	&Apache::lonnet::put($caller.'_'.$marker,\%syllabus,$dom,$crs);
+	&Apache::lonnet::put($namespace,\%syllabus,$dom,$crs);
     }
 
 # ---------------------------------------------------------------- Get syllabus