Plugin Directory

Changeset 356348

Timestamp:
03/06/2011 10:43:29 PM (13 years ago)
Author:
jghazally
Message:

Fix bug reported by b2bsolutions:http://getshopped.org/forums/topic.php?id=18346

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-e-commerce/branches/3.8-development/wpsc-includes/theme.functions.php

    r356322 r356348  
    972972    if(!empty($temp_wpsc_query->query_vars['term']))
    973973        $display_type = wpsc_get_the_category_display($temp_wpsc_query->query_vars['term']);   
     974
     975
    974976    else
    975         $display_type = wpsc_get_the_category_display($args['wpsc_product_category']); 
    976 
    977 
     977        $display_type = 'default';
     978   
    978979    if ( isset( $_SESSION['wpsc_display_type'] ) )
    979980        $display_type = $_SESSION['wpsc_display_type'];
     
    989990    if ( $is_single == false ) {
    990991        $GLOBALS['post'] = $wp_query->post;
    991     }
     992    }
    992993    return $output;
    993994}
Note: See TracChangeset for help on using the changeset viewer.