浏览代码

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 ();
 }