Index: tweetbutton.module
===================================================================
--- tweetbutton.module	(revisión: 9)
+++ tweetbutton.module	(copia de trabajo)
@@ -80,7 +80,8 @@
  * Implementation of hook_node_view()
  */
 function tweetbutton_node_view($node, $view_mode) {
-  if (in_array($node->type, variable_get('tweetbutton_node_types', array('article'))) 
+$type = variable_get('tweetbutton_node_types', array('article' => 'article'));
+  if(isset($type[$node->type]) && $type[$node->type] !== 0
     && in_array($view_mode, variable_get('tweetbutton_node_location', array('full')))
     && user_access('access tweetbutton')) {
     
@@ -134,4 +135,4 @@
   $link = '<div class="tweetbutton"><a href="http://twitter.com/share" class="twitter-share-button" ' .
     drupal_attributes($attributes). '>Tweet</a></div>';
   return $link;
-}
\ No newline at end of file
+}
