--- GUI.pm.orig 2010-10-17 16:31:05.000000000 -0400 +++ GUI.pm 2013-02-11 04:53:37.834772503 -0500 @@ -1249,7 +1249,7 @@ # table for request data my $cc=0; my $ous = 1; - if(defined($opts->{'OU'}) and defined @{$opts->{'OU'}}) { + if(defined($opts->{'OU'}) and ref($opts->{'OU'}) eq 'ARRAY') { $ous = @{$opts->{'OU'}} - 1; } $reqtable = Gtk2::Table->new(1, 13 + $ous, 0); @@ -1297,7 +1297,7 @@ _("Organization Name (eg. company):"), \$opts->{'O'}, $reqtable, 10, 1); - if(defined($opts->{'OU'}) and defined @{$opts->{'OU'}}) { + if(defined($opts->{'OU'}) and ref($opts->{'OU'}) eq 'ARRAY') { foreach my $ou (@{$opts->{'OU'}}) { $entry = GUI::HELPERS::entry_to_table( _("Organizational Unit Name (eg. section):"),