Commit 848c1f9c authored by Russ Fish's avatar Russ Fish

Declare $newuser_xml outside the conditional. It's referenced later to decide...

Declare $newuser_xml outside the conditional.  It's referenced later to decide whether there's a file to unlink.
parent e74224ee
...@@ -246,8 +246,9 @@ foreach my $key (keys(%{ $xmlparse->{'attribute'} })) { ...@@ -246,8 +246,9 @@ foreach my $key (keys(%{ $xmlparse->{'attribute'} })) {
# #
# Create the user if an XML file for newuser was supplied. # Create the user if an XML file for newuser was supplied.
# #
my $newuser_xml;
if (exists($newproj_args{'newuser_xml'})) { if (exists($newproj_args{'newuser_xml'})) {
my $newuser_xml = $newproj_args{'newuser_xml'}; $newuser_xml = $newproj_args{'newuser_xml'};
delete($newproj_args{'newuser_xml'}); delete($newproj_args{'newuser_xml'});
# #
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment