--- advanced_blog/advanced_blog.install.orig	2011-02-25 18:20:20.000000000 +0000
+++ advanced_blog/advanced_blog.install	2011-02-25 18:51:26.000000000 +0000
@@ -90,4 +90,13 @@ function advanced_blog_update_4() {
   $ret = array();
   db_query("UPDATE {blocks} SET cache = %d WHERE module = 'advanced_blog' AND (delta = 1 OR delta = 3)", BLOCK_NO_CACHE);
   return $ret;
-}
\ No newline at end of file
+}
+
+/**
+  Allow NULL values in the title and description fields.  
+  Prevents SQL errors during user creation.
+*/
+function advanced_blog_update_5() {
+  db_change_field($ret, 'advanced_blog', 'title', 'title', array('type' => 'varchar', 'length' => 128, 'not null' => FALSE));
+  db_change_field($ret, 'advanced_blog', 'description', 'description', array('type' => 'text', 'not null' => FALSE));
+}
