Let the category default to 'misc'
authorJoey Schulze <joey@infodrom.org>
Mon, 21 Mar 2005 18:22:22 +0000 (18:22 +0000)
committerJoey Schulze <joey@infodrom.org>
Mon, 21 Mar 2005 18:22:22 +0000 (18:22 +0000)
src/Infodrom/logbook/edit.wml

index f503bd8..8ed95e0 100644 (file)
@@ -20,6 +20,8 @@
       $date = explode ("-", $date[0]);
       $date = sprintf ("%d.%d.%d %02d:%02d", $date[2], $date[1], $date[0], $time[0], $time[1]);
     }
+  } else {
+    $row['category'] = 'misc';
   }
 ?>