Pārlūkot izejas kodu

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 18 gadi atpakaļ
vecāks
revīzija
bc83e3255b
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  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>;
     my $line = <DBVERSION>;
     close DBVERSION;
     close DBVERSION;
     chomp($line);
     chomp($line);
-    my @foo = split("/", $line);
-    $data = \@foo;
+    @{$data} = split("/", $line);
     return ();
     return ();
 }
 }