Browse Source

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 years ago
parent
commit
bc83e3255b
1 changed files with 1 additions and 2 deletions
  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 ();
 }