diff --git a/twitter_post/twitter_post.module b/twitter_post/twitter_post.module
index c38f321..6db6efe 100644
--- a/twitter_post/twitter_post.module
+++ b/twitter_post/twitter_post.module
@@ -143,7 +143,7 @@ function twitter_post_form_alter(&$form, $form_state, $form_id) {
  * Implementation of hook_content_extra_fields().
  */
 function twitter_post_content_extra_fields($type) {
-  $allowed_types = variable_get('twitter_types', array('story' => 'story', 'blog' => 'blog'));
+  $allowed_types = variable_get('twitter_post_types', array('story' => 'story', 'blog' => 'blog'));
 
   if (empty($allowed_types[$type])) {
     return;
