Explorar o código

Resolves: bug 345711
Description: migration : ignore idl switch value in 6.21 and earlier
Fix Description: Have to assign the values directly to the array ref - not to a temp array ref

Rich Megginson %!s(int64=18) %!d(string=hai) anos
pai
achega
bc83e3255b
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      ldap/admin/src/scripts/DSMigration.pm.in

+ 1 - 2
ldap/admin/src/scripts/DSMigration.pm.in

@@ -143,8 +143,7 @@ sub getDBVERSION {
     my $line = <DBVERSION>;
     close DBVERSION;
     chomp($line);
-    my @foo = split("/", $line);
-    $data = \@foo;
+    @{$data} = split("/", $line);
     return ();
 }