WordPress.org

Plugin Directory

Changeset 634104


Ignore:
Timestamp:
12/04/12 17:27:45 (17 months ago)
Author:
mitchoyoshitaka
Message:

fix typo in weights

File:
1 edited

Legend:

Unmodified
Added
Removed
  • yet-another-related-posts-plugin/trunk/class-cache.php

    r603856 r634104  
    169169     
    170170        // Build tax criteria query parts based on the weights 
    171         foreach ( (array) $weight['tax'] as $tax => $weight ) { 
    172             $newsql .= " + " . $this->tax_criteria($reference_ID, $tax) . " * " . intval($weight); 
     171        foreach ( (array) $weight['tax'] as $tax => $tax_weight ) { 
     172            $newsql .= " + " . $this->tax_criteria($reference_ID, $tax) . " * " . intval($tax_weight); 
    173173        } 
    174174     
Note: See TracChangeset for help on using the changeset viewer.