[LON-CAPA-cvs] cvs: loncom /xml londefdef.pm

raeburn raeburn at source.lon-capa.org
Mon Oct 14 13:11:18 EDT 2013


raeburn		Mon Oct 14 17:11:18 2013 EDT

  Modified files:              
    /loncom/xml	londefdef.pm 
  Log:
  - Actually do something with the result of the chreflocation() call. 
  
  
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.449 loncom/xml/londefdef.pm:1.450
--- loncom/xml/londefdef.pm:1.449	Sat Oct 12 01:26:31 2013
+++ loncom/xml/londefdef.pm	Mon Oct 14 17:11:18 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Tags Default Definition Module 
 #
-# $Id: londefdef.pm,v 1.449 2013/10/12 01:26:31 raeburn Exp $
+# $Id: londefdef.pm,v 1.450 2013/10/14 17:11:18 raeburn Exp $
 # 
 #
 # Copyright Michigan State University Board of Trustees
@@ -4595,7 +4595,7 @@
 sub clean_docs_httpref {
     my ($href,$docuri,$cdom,$cnum) = @_;
     if ($docuri eq '') {
-        &Apache::lonnet::hreflocation('',$env{'request.filename'});
+        $docuri = &Apache::lonnet::hreflocation('',$env{'request.filename'});
     }
     if ($cdom eq '') {
         $cdom = $env{'course.'.$env{'request.course.id'}.'.domain'};




More information about the LON-CAPA-cvs mailing list