title: Drupal 7 theme function outputs word 'array'
body: <p>In my hook_preprocess_node function I am changing the links by themeing and adding a t() function to allow translation.
  The problem is when I render out in my node I get the word "ARRAY" printed out, this is using either    </p>
  
  <pre><code>&lt;?php  print render($field_downloads); ?&gt; or &lt;?php  print $field_downloads); ?&gt;
  </code></pre>
  
  <p>in my node.</p>
  
  <p>Code in template.php</p>
  
  <pre><code>$list_of_paths = array();
  foreach($field_downloads as $index =&gt; $data)
  {
  
      $file_uri = $data['uri'];
      $file_path = file_create_url($file_uri);
      $list_of_paths[] = '&lt;strong&gt; &amp;gt;&amp;gt;'. t('DOWNLOAD'). '&lt;/strong&gt; '.l(t($data['description']), $file_path);
  }
  
  
  
  $variables['field_downloads'] .= theme("item_list", array(
    'items' =&gt; $list_of_paths,
    'type' =&gt; 'ul',
    'attributes' =&gt; array('class' =&gt; 'downloads'),    
  ));
  }
  </code></pre>