--- node.module.org 2005-07-27 12:35:15.000000000 +0200 +++ node.module 2005-07-27 14:58:11.000000000 +0200 @@ -398,6 +398,11 @@ function node_load($conditions, $revisio * Save a node object into the database. */ function node_save($node) { + // Postgresql quick fix + foreach (array('status', 'moderate', 'promote', 'sticky') as $var) { + if ($node->$var === FALSE) { $node->$var = 0; } + } + // Fetch fields to save to node table: $fields = node_invoke_nodeapi($node, 'fields');