X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=search.cgi;h=79586f336b8317c165fa4b5328017f8637b337fa;hb=55661a715987dd6dba3cf4f032a4cb6ad0d2949b;hp=7cd0c133f2e99ef0a4a8f129d89946f51bf10325;hpb=cf8361cfbd8b3fc724a7ee0497523759186597b2;p=mirror%2Fuserdir-ldap-cgi.git diff --git a/search.cgi b/search.cgi index 7cd0c13..79586f3 100755 --- a/search.cgi +++ b/search.cgi @@ -1,6 +1,6 @@ #!/usr/bin/perl -# $Id: search.cgi,v 1.8 2004/11/18 14:30:06 joey Exp $ +# $Id: search.cgi,v 1.9 2004/11/18 14:32:00 joey Exp $ # (c) 1999 Randolph Chung. Licensed under the GPL. use lib '.'; @@ -166,8 +166,8 @@ if (!$dosearch) { $login = $data->{uid}->[0]."\@debian.org"; $login = "$login"; - # See if the user has a vacation message - $vacation = $data->{onvacation}->[0]; + # See if the user has a vacation message, non-public + $vacation = $data->{onvacation}->[0] if ($authtoken && $id); # OK, now generate output... (i.e. put the output into the buffer ) $outsub{searchresults} .= '';