[LON-CAPA-cvs] cvs: loncom /auth lonacc.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Tue, 19 Sep 2006 15:24:57 -0000
albertel Tue Sep 19 11:24:57 2006 EDT
Modified files:
/loncom/auth lonacc.pm
Log:
- check for definiton
Index: loncom/auth/lonacc.pm
diff -u loncom/auth/lonacc.pm:1.98 loncom/auth/lonacc.pm:1.99
--- loncom/auth/lonacc.pm:1.98 Tue Sep 12 10:45:05 2006
+++ loncom/auth/lonacc.pm Tue Sep 19 11:24:57 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Cookie Based Access Handler
#
-# $Id: lonacc.pm,v 1.98 2006/09/12 14:45:05 albertel Exp $
+# $Id: lonacc.pm,v 1.99 2006/09/19 15:24:57 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -201,7 +201,8 @@
$handle=~s/\W//g;
}
- if (my $result = &sso_login($r,$lonid,$handle)) {
+ my $result = &sso_login($r,$lonid,$handle);
+ if (defined($result) {
return $result
}