- Timestamp:
- Jul 24, 2009, 3:20:54 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/notify_functions.php
r343 r347 109 109 $sql2 .= "WHERE ($table_term_relationships.object_id =" . $comment_post_ID.") AND ($table_term_taxonomy.taxonomy='category')"; 110 110 } 111 $categories = $xoops_db->get_results($sql );111 $categories = $xoops_db->get_results($sql2); 112 112 foreach($categories as $categorie){ 113 113 $cat_id = $categorie->cat_ID; … … 164 164 $sql2 .= "WHERE ($table_term_relationships.object_id =" . $post_id.") AND ($table_term_taxonomy.taxonomy='category')"; 165 165 } 166 $categories = $xoops_db->get_results($sql );166 $categories = $xoops_db->get_results($sql2); 167 167 foreach($categories as $categorie){ 168 168 $cat_id = $categorie->cat_ID;
Note: See TracChangeset
for help on using the changeset viewer.