--- quotes/quotes.admin.inc.org	2008-10-19 18:02:02.000000000 -0700
+++ quotes/quotes.admin.inc	2008-11-23 18:39:29.000000000 -0800
@@ -218,7 +218,7 @@
  *   The array specifying the form values.
  */
 function quotes_blocks_settings_submit($form, &$form_state) {
-  db_query("INSERT INTO {quotes_blocks} (name, block_type, nid_filter, rid_filter, uid_filter, tid_filter, cron_interval, cron_step, cron_last, vid) VALUES ('%s', 0, '', '', '', '', 0, 0, 0, 0)", trim($form_state['values']['name']));
+  db_query("INSERT INTO {quotes_blocks} (name, block_type, nid_filter, aid_filter, rid_filter, uid_filter, tid_filter, cron_interval, cron_step, cron_last, vid) VALUES ('%s', 0, '', '', '', '', '', 0, 0, 0, 0)", trim($form_state['values']['name']));
 }
 
 /**
