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

foxr lon-capa-cvs@mail.lon-capa.org
Wed, 06 Dec 2006 11:36:53 -0000


foxr		Wed Dec  6 06:36:53 2006 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  Fix likely typo which prevents httpd restart
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.487 loncom/interface/loncommon.pm:1.488
--- loncom/interface/loncommon.pm:1.487	Mon Dec  4 21:55:51 2006
+++ loncom/interface/loncommon.pm	Wed Dec  6 06:36:52 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.487 2006/12/05 02:55:51 albertel Exp $
+# $Id: loncommon.pm,v 1.488 2006/12/06 11:36:52 foxr Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -6292,7 +6292,7 @@
 	my ($user,$domain) = split(':',$args->{'keyauth'});
 	$user = &LONCAPA::clean_username($user);
 	$domain = &LONCAPA::clean_username($domain);
-	if ($user ne '' && $domain ne '');
+	if ($user ne '' && $domain ne '') {
 	    $cenv{'keyauth'}=$user.':'.$domain;
 	}
     }