Plugin Directory

Changeset 606252


Ignore:
Timestamp:
09/30/2012 07:09:22 PM (12 years ago)
Author:
ajayver
Message:
 
Location:
cat-tag-filter-widget
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cat-tag-filter-widget/tags/0.8.2/cat-tag-filter.php

    r606244 r606252  
    9090  global $ctf_options, $current_tax;
    9191 
    92     if($current_tax[cats][0]){
     92    if($current_tax['cats'][0]){
    9393
    9494        $cat_args = array(
     
    123123        }
    124124       
     125        }
     126        else {
     127            foreach ($tags as $tag){
     128                $include .= $tag . ',';
     129            }
    125130        }
    126131        $include = substr($include, 0, -1);
  • cat-tag-filter-widget/trunk/cat-tag-filter.php

    r606245 r606252  
    9090  global $ctf_options, $current_tax;
    9191 
    92     if($current_tax[cats][0]){
     92    if($current_tax['cats'][0]){
    9393
    9494        $cat_args = array(
     
    123123        }
    124124       
     125        }
     126        else {
     127            foreach ($tags as $tag){
     128                $include .= $tag . ',';
     129            }
    125130        }
    126131        $include = substr($include, 0, -1);
Note: See TracChangeset for help on using the changeset viewer.