#!/usr/bin/perl
-# $Id: search.cgi,v 1.7 2002/10/06 18:13:00 rmurray Exp $
+# $Id: search.cgi,v 1.8 2004/11/18 14:30:06 joey Exp $
# (c) 1999 Randolph Chung. Licensed under the GPL. <tausq@debian.org>
use lib '.';
# Assemble name, attach web page link if present.
$name = $data->{cn}->[0]." ".$data->{mn}->[0]." ".$data->{sn}->[0];
- if (my $url = $data->{labeledurl}->[0]) {
+ if (my $url = $data->{labeleduri}->[0]) {
$name = "<a href=\"$url\">$name</a>";
}