Преглед на файлове

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 години
родител
ревизия
bc83e3255b
променени са 1 файла, в които са добавени 1 реда и са изтрити 2 реда
  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 ();
 }