--- album.module	2005-05-12 20:41:55.000000000 -0400
+++ album_node_options_array.module	2005-05-12 20:35:53.000000000 -0400
@@ -60,11 +60,12 @@ function album_validate() {
       // Validate for normal users:
       $node->uid = $user->uid ? $user->uid : 0;
       // Force defaults in case people modify the form:
-      $node->status = variable_get("node_status_$node->type", 1);
-      $node->promote = variable_get("node_promote_$node->type", 1);
-      $node->moderate = variable_get("node_moderate_$node->type", 0);
-      $node->sticky = variable_get("node_sticky_$node->type", 0);
-      $node->revision = variable_get("node_revision_$node->type", 0);
+      $node_options = variable_get('node_options_'. $node->type, array('status', 'promote'));
+      $node->status = in_array('status', $node_options);
+      $node->moderate = in_array('moderate', $node_options);
+      $node->promote = in_array('promote', $node_options);
+      $node->sticky = in_array('sticky', $node_options);
+      $node->revision = in_array('revision', $node_options);
       unset($node->created);
       // the line below needs some work before transforming into node_submit(). maybe move up before replacing code with node_submit()
       image_validate($node, $field);
