# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
--- J:/ct XAMPP/xampp/htdocs/drupal/sites/all/modules/tagadelic/tagadelic.module.original~
+++ J:/ct XAMPP/xampp/htdocs/drupal/sites/all/modules/tagadelic/tagadelic.module
@@ -225,7 +225,7 @@
     if (!is_array($vids) || count($vids) == 0) {
       return array();
     }
-    $result = db_query_range('SELECT COUNT(*) AS count, d.tid, d.name, d.vid FROM {term_data} d INNER JOIN {term_node} n ON d.tid = n.tid WHERE d.vid IN ('. substr(str_repeat('%d,', count($vids)), 0, -1) .') GROUP BY d.tid, d.name, d.vid ORDER BY count DESC', $vids, 0, $size);
+    $result = db_query_range('SELECT COUNT(*) AS count, d.tid, d.name, d.vid, d.description FROM {term_data} d INNER JOIN {term_node} n ON d.tid = n.tid WHERE d.vid IN ('. substr(str_repeat('%d,', count($vids)), 0, -1) .') GROUP BY d.tid, d.name, d.vid  ORDER BY count DESC', $vids, 0, $size);
 
     $tags = tagadelic_build_weighted_tags($result, $steps);
 
@@ -308,7 +308,14 @@
 function theme_tagadelic_weighted($terms) {
   $output = '';
   foreach ($terms as $term) {
-    $output .= l($term->name, taxonomy_term_path($term), array('attributes' => array('class' => "tagadelic level$term->weight", 'rel' => 'tag'))) ." \n";
+    $output .= l($term->name, taxonomy_term_path($term), 
+    array(
+        'attributes' => array(
+            'class'  => "tagadelic level$term->weight", 
+            'rel'       => 'tag', 
+            'title'     => strip_tags("$term->description"),)
+            )
+            ) ." \n";
   }
   return $output;
 }
