XPressME Integration Kit

Trac


Ignore:
Timestamp:
Jul 24, 2009, 3:20:54 PM (15 years ago)
Author:
toemon
Message:

カテゴリーへの投稿イベントが正常に行われないバグを修正 fixes #190

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/notify_functions.php

    r343 r347  
    109109                $sql2 .= "WHERE ($table_term_relationships.object_id =" . $comment_post_ID.") AND ($table_term_taxonomy.taxonomy='category')";           
    110110        } 
    111         $categories = $xoops_db->get_results($sql); 
     111        $categories = $xoops_db->get_results($sql2); 
    112112        foreach($categories as $categorie){ 
    113113                $cat_id = $categorie->cat_ID; 
     
    164164                                $sql2 .= "WHERE ($table_term_relationships.object_id =" . $post_id.") AND ($table_term_taxonomy.taxonomy='category')";           
    165165                        } 
    166                         $categories = $xoops_db->get_results($sql); 
     166                        $categories = $xoops_db->get_results($sql2); 
    167167                        foreach($categories as $categorie){ 
    168168                                $cat_id = $categorie->cat_ID; 
Note: See TracChangeset for help on using the changeset viewer.