--- /Users/flopez/Sites/drupal-7.x-cached/sites/all/modules/contrib/sharethis/sharethis.module	2012-09-13 17:58:53.000000000 +0200
+++ /Users/flopez/Sites/edumotioncms/sites/all/modules/contrib/sharethis/sharethis.module	2013-05-06 15:09:52.000000000 +0200
@@ -317,7 +317,12 @@
 
   global $base_url;
   // Get the full path to insert into the Share Buttons.
-  $mPath = $base_url . $path_module;
+  if (variable_get('clean_url')) {
+      $mPath = $base_url . $path_module;
+  } else {
+      $mPath = $base_url . "?q=" . drupal_substr($path_module,1);
+  }
+  
   $mTitle = $node->title;
   
   // Only display the ShareThis buttons if this node fits all the requirements
