Changeset 2433
- Timestamp:
- 05/28/2010 04:00:02 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/bb-includes/functions.bb-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bb-includes/functions.bb-template.php
r2431 r2433 673 673 if ( !$bb_latest_topics_count) { 674 674 global $bbdb; 675 $bb_latest_topics_count = $bbdb->get_var('SELECT COUNT(`topic_id`) FROM `' . $bbdb->topics . '` WHERE `topic_ open` = 1 AND `topic_status` = 0 AND `topic_sticky` != 2;');675 $bb_latest_topics_count = $bbdb->get_var('SELECT COUNT(`topic_id`) FROM `' . $bbdb->topics . '` WHERE `topic_status` = 0 AND `topic_sticky` != 2;'); 676 676 } 677 677 if ( $pages = apply_filters( 'bb_latest_topics_pages', get_page_number_links( $page, $bb_latest_topics_count ), $bb_latest_topics_count ) ) {
Note: See TracChangeset
for help on using the changeset viewer.