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

raeburn raeburn at source.lon-capa.org
Fri Nov 30 09:46:21 EST 2012


raeburn		Fri Nov 30 14:46:21 2012 EDT

  Modified files:              
    /loncom/interface	londocs.pm 
  Log:
  - Construct path correctly when jumping directly to editing uploaded 
    .page or .sequence.
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.511 loncom/interface/londocs.pm:1.512
--- loncom/interface/londocs.pm:1.511	Thu Nov 29 20:37:07 2012
+++ loncom/interface/londocs.pm	Fri Nov 30 14:46:21 2012
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.511 2012/11/29 20:37:07 raeburn Exp $
+# $Id: londocs.pm,v 1.512 2012/11/30 14:46:21 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3292,7 +3292,7 @@
                if ($mapurl eq 'default') {
                    $maptitle = 'Main Course Documents';
                }
-               $path .= ($path ne '')? '&' : ''.
+               $path .= (($path ne '')? '&' : '').
                     &Apache::lonhtmlcommon::entity_encode($mapurl).'&'.
                     &Apache::lonhtmlcommon::entity_encode($maptitle).
                     ':'.$mapresobj->randompick().




More information about the LON-CAPA-cvs mailing list