--- password_policy.module.orig	2008-10-03 12:02:22.000000000 +0200
+++ password_policy.module	2008-09-30 15:56:02.000000000 +0200
@@ -21,6 +21,7 @@
  * Implementation of hook_help().
  */
 function password_policy_help($path, $arg) {
+  $output = '';
   switch ($path) {
     case "admin/help#password_policy":
       $output = '<p>'. t('The password policy module allows you to enforce a specific level of password complexity for the user passwords on the system.') .'</p>';
--- password_policy.admin.inc.orig	2008-10-03 12:02:11.000000000 +0200
+++ password_policy.admin.inc	2008-09-30 15:55:40.000000000 +0200
@@ -117,7 +117,7 @@
     $form[$name]['edit'] = array('#value' => l(t('edit'), 'admin/settings/password_policy/'. $pid .'/edit'));
     $form[$name]['delete'] = array('#value' => l(t('delete'), 'admin/settings/password_policy/delete/'. $pid));
   }
-  $form['default'] = array('#type' => 'radios', '#options' => $options, '#default_value' => $default_pid);
+  $form['default'] = array('#type' => 'radios', '#options' => $options, '#default_value' => isset($default_pid) ? $default_pid : 0);
   $form['submit'] = array('#type' => 'submit', '#value' => t('Set default policy'));
   $form['clear'] = array('#type' => 'submit', '#value' => t('Clear default policy'));
   return $form;
