[LON-CAPA-cvs] cvs: loncom /auth loncacc.pm

raeburn raeburn@source.lon-capa.org
Wed, 07 Oct 2009 14:47:48 -0000


raeburn		Wed Oct  7 14:47:48 2009 EDT

  Modified files:              
    /loncom/auth	loncacc.pm 
  Log:
  - Fix typo.
  
  
Index: loncom/auth/loncacc.pm
diff -u loncom/auth/loncacc.pm:1.49 loncom/auth/loncacc.pm:1.50
--- loncom/auth/loncacc.pm:1.49	Sat Apr 11 21:42:58 2009
+++ loncom/auth/loncacc.pm	Wed Oct  7 14:47:48 2009
@@ -2,7 +2,7 @@
 # Cookie Based Access Handler for Construction Area
 # (lonacc: 5/21/99,5/22,5/29,5/31 Gerd Kortemeyer)
 #
-# $Id: loncacc.pm,v 1.49 2009/04/11 21:42:58 raeburn Exp $
+# $Id: loncacc.pm,v 1.50 2009/10/07 14:47:48 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -174,7 +174,7 @@
 	$env{'request.state'}    = "construct";
 	$env{'request.filename'} = $r->filename;
 
-	unless (&constructaccess($requrl,$r->dir_config('lonDefDomain')),'setpriv') {
+	unless (&constructaccess($requrl,$r->dir_config('lonDefDomain'),'setpriv')) {
 	    $r->log_reason("Unauthorized $requrl", $r->filename); 
 	    return HTTP_NOT_ACCEPTABLE;
 	}