I just installed 4.7.0-beta3 and acidfree from cvs. I'm given an error about array2object when I try to create a new acidfree node.

The patch so small I'll just paste it here, especially since I'm not convince this is the official drupal-way to solve it, even though it seems to work for me.

--- acidfree.module.orig        2006-01-10 18:54:45.000000000 -0500
+++ acidfree.module     2006-01-10 18:55:10.000000000 -0500
@@ -1093,7 +1093,7 @@
             'weight' => -30,
             'parent' => Array(-1),
         );
-    $node = array2object($node);
+    $node = (object) $node;
     node_save($node);
     return $node->nid;
 }