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

www www@source.lon-capa.org
Tue, 07 Jun 2011 19:17:57 -0000


www		Tue Jun  7 19:17:57 2011 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  Fix call outside of course context
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.1011 loncom/interface/loncommon.pm:1.1012
--- loncom/interface/loncommon.pm:1.1011	Mon Jun  6 22:20:52 2011
+++ loncom/interface/loncommon.pm	Tue Jun  7 19:17:56 2011
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.1011 2011/06/06 22:20:52 www Exp $
+# $Id: loncommon.pm,v 1.1012 2011/06/07 19:17:56 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -475,7 +475,7 @@
               &mt('Select User').'</a></span>';
    }
    if ($env{'request.role'}=~/^(au|dc|su)/) {
-       $callargs .= ",1"; 
+       $callargs .= ",'',1"; 
        return '<span class="LC_nobreak">'.
               '<a href="javascript:openstdbrowser('.$callargs.');">'.
               &mt('Select User').'</a></span>';