? 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 07:26:00 -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.'),
     );
@@ -242,7 +242,7 @@ function sitenotes_view($node, $teaser =
 
   if ($page) {
     $breadcrumb = array();
-    $breadcrumb[] = l('Home', $BASEPATH);
+    $breadcrumb[] = l('Home', '');
     $breadcrumb[] = l('Site Notes', 'admin/build/sitenotes');
     drupal_set_breadcrumb($breadcrumb);
   }
