--- tagadelic.module	2008-12-31 04:35:44.000000000 -0700
+++ tagadelic-patched.module	2010-02-12 08:25:24.000000000 -0700
@@ -308,7 +308,8 @@ function _tagadelic_sort_by_weight($a, $
 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";
+    $w = $term->weight;
+    $output .= l($term->name, taxonomy_term_path($term), array('attributes' => array('class' => "tagadelic level".$w, 'rel' => 'tag'))) ." \n";
   }
   return $output;
 }
