Bug 16505: Make sure $as_xml will not be used later
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sat, 21 May 2016 09:23:46 +0000 (10:23 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Mon, 23 May 2016 17:29:23 +0000 (17:29 +0000)
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
misc/migration_tools/rebuild_zebra.pl

index 6c036ba..14dab96 100755 (executable)
@@ -100,6 +100,7 @@ if (not $result or $want_help) {
 
 if ( $as_xml ) {
     warn "Warning: You passed -x which is already the default and is now deprecated·\n";
+    undef $as_xml; # Should not be used later
 }
 
 if( not defined $run_as_root and $run_user eq 'root') {