--- loncom/interface/lonaboutme.pm 2004/05/03 19:04:49 1.22
+++ loncom/interface/lonaboutme.pm 2004/05/10 14:11:13 1.25
@@ -1,7 +1,7 @@
# The LearningOnline Network
# "About Me" Personal Information
#
-# $Id: lonaboutme.pm,v 1.22 2004/05/03 19:04:49 sakharuk Exp $
+# $Id: lonaboutme.pm,v 1.25 2004/05/10 14:11:13 sakharuk Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -107,7 +107,7 @@ ENDDOCUMENT
$allowed=(($ENV{'user.name'} eq $cnum) &&
($ENV{'user.domain'} eq $cdom));
- if ($forcestudent) { $allowed=0; }
+ if ($forcestudent or $target eq 'tex') { $allowed=0; }
if ($allowed) {
if ($target ne 'tex') {
@@ -156,7 +156,7 @@ ENDDOCUMENT
$r->print('');
}
- if ($allowed & $target ne 'tex') {
+ if ($allowed) {
$r->print(
'