[LON-CAPA-cvs] cvs: loncom /cgi quotacheck.pl

raeburn raeburn at source.lon-capa.org
Sat Aug 23 14:54:45 EDT 2014


raeburn		Sat Aug 23 18:54:45 2014 EDT

  Modified files:              
    /loncom/cgi	quotacheck.pl 
  Log:
  - Retrieval of domain default for uploaded quota needs to use correct key. 
  
  
Index: loncom/cgi/quotacheck.pl
diff -u loncom/cgi/quotacheck.pl:1.6 loncom/cgi/quotacheck.pl:1.7
--- loncom/cgi/quotacheck.pl:1.6	Tue Aug  5 19:32:19 2014
+++ loncom/cgi/quotacheck.pl	Sat Aug 23 18:54:45 2014
@@ -6,7 +6,7 @@
 # requested domain, or current server should belong to requested
 # domain.
 #
-# $Id: quotacheck.pl,v 1.6 2014/08/05 19:32:19 musolffc Exp $
+# $Id: quotacheck.pl,v 1.7 2014/08/23 18:54:45 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -326,7 +326,7 @@
                 $quotatype = 'textbook';
             }
             if ($quota eq '') {
-                $quota = $domdefs{$crstype.'quota'};
+                $quota = $domdefs{$quotatype.'quota'};
             }
             $quota =~ s/[^\d\.]+//g;
             if ($quota eq '') {




More information about the LON-CAPA-cvs mailing list