diff -u addthis.orig/addthis.module addthis/addthis.module
--- addthis.orig/addthis.module	2009-10-22 15:57:50.000000000 -0200
+++ addthis/addthis.module	2009-12-04 16:37:32.000000000 -0200
@@ -112,7 +112,7 @@
  *   String containing html code for the button
  */
 function _addthis_create_button($node=NULL, $teaser = FALSE) {
-  global $_addthis_counter;
+  static $_addthis_counter = 0;
   $_addthis_counter++;
   $brand = variable_get('addthis_brand', '');
   if ($brand == '') {
@@ -135,7 +135,7 @@
         addslashes(variable_get('addthis_logo_color', '666699')),
         addslashes($brand),
         addslashes(variable_get('addthis_options', 'favorites, email, digg, delicious, myspace, facebook, google, live, more')),
-        variable_get('addthis_options', FALSE) ? 'true' : 'false'
+        variable_get('addthis_disable_flash', FALSE) ? 'true' : 'false'
       ), 'inline');
   }
 
Only in addthis: addthis.module~
