Permalink
Browse files

Adding spitcast api integration - fix

  • Loading branch information...
1 parent 5ab496a commit c9bcaefe69515958ecab46a3f9fa4e8a9ceba123 @baldwinlouie committed May 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 sites/default/modules/surf/surf.module
@@ -104,7 +104,7 @@ function surf_block_view($delta = '') {
if (isset($terms) && count($terms) && $terms != FALSE) {
foreach ($terms as $term) {
$county_code = field_get_items('taxonomy_term', $term, 'spitcast_county_code');
- $value = field_view_value('taxonomy_term', $term, 'field_spitcast_county_code', $$county_code[0]);
+ $value = field_view_value('taxonomy_term', $term, 'field_spitcast_county_code', $county_code[0]);
$reports = surf_report_by_county($value);
$items = array();
foreach ($reports as $report) {

0 comments on commit c9bcaef

Please sign in to comment.