? sitenotes-strict_notice.patch
Index: sitenotes.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/sitenotes/sitenotes.module,v
retrieving revision 1.10.2.6
diff -u -p -r1.10.2.6 sitenotes.module
--- sitenotes.module	16 Sep 2008 15:41:33 -0000	1.10.2.6
+++ sitenotes.module	17 Sep 2008 06:59:38 -0000
@@ -129,7 +129,7 @@ function sitenotes_form(&$node) {
   $form['body_field']['weight'] = array(
     '#type' => 'weight',
     '#title' => t('Weight'),
-    '#default_value' => $node->weight ? $node->weight : 0,
+    '#default_value' => isset($node->weight) ? $node->weight : 0,
     '#delta' => 20,
     '#description' => t('Optional. The heavier items will sink and the lighter items will be positioned nearer the top.'),
     );
