X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap-cgi.git;a=blobdiff_plain;f=update.cgi;h=e6ba638e6f32019899d6b6db9aaebab41f02cd73;hp=d109bf77fb09013009c7a9ed44c725de1c077819;hb=3ebf6f8a1e6353a8fa332a3d6533051de98c5afb;hpb=b33011c65aeb65e4b06b127077d6a225f764d042 diff --git a/update.cgi b/update.cgi index d109bf7..e6ba638 100755 --- a/update.cgi +++ b/update.cgi @@ -3,6 +3,7 @@ # $Id: update.cgi,v 1.13 2006/12/28 02:44:02 rmurray Exp $ # (c) 1999 Randolph Chung. Licensed under the GPL. # (c) 2006 Ryan Murray. Licensed under the GPL. +# Copyright (c) 2008, 2011, 2012, 2014, 2015 Peter Palfrader use lib '.'; use strict vars; @@ -97,8 +98,6 @@ if (!($query->param('doupdate'))) { $data{$_} = CGI::escapeHTML($data{$_}) if defined $data{$_}; } - $data{gender} = 9 if not $data{gender}; - # Now we have to fill in the rest that needs some processing... $data{id} = $id; $data{authtoken} = $authtoken; @@ -132,15 +131,6 @@ if (!($query->param('doupdate'))) { $data{email} = CGI::escapeHTML(join(", ", @{$entry->{emailforward}})); - my $genderselect = ''; my $mailcontentselect = '