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

raeburn raeburn at source.lon-capa.org
Tue Aug 15 17:01:06 EDT 2017


raeburn		Tue Aug 15 21:01:06 2017 EDT

  Modified files:              
    /loncom/interface	domainprefs.pm 
  Log:
  - Use unique identifier when creating path for icon for new LTI tool
    added to domain.
  
  
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.306 loncom/interface/domainprefs.pm:1.307
--- loncom/interface/domainprefs.pm:1.306	Thu Aug  3 16:51:53 2017
+++ loncom/interface/domainprefs.pm	Tue Aug 15 21:01:06 2017
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set domain-wide configuration settings
 #
-# $Id: domainprefs.pm,v 1.306 2017/08/03 16:51:53 raeburn Exp $
+# $Id: domainprefs.pm,v 1.307 2017/08/15 21:01:06 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -9896,7 +9896,7 @@
             }
             if ($env{'form.ltitools_add_image.filename'} ne '') {
                 my ($imageurl,$error) =
-                    &process_ltitools_image($r,$dom,$confname,'ltitools_add_image',$dom,
+                    &process_ltitools_image($r,$dom,$confname,'ltitools_add_image',$newid,
                                             $configuserok,$switchserver,$author_ok);
                 if ($imageurl) {
                     $confhash{$newid}{'image'} = $imageurl;




More information about the LON-CAPA-cvs mailing list