Changeset 2129
- Timestamp:
- 04/28/08 07:25:55 (22 months ago)
- Location:
- branches/release-36/php/lib
- Files:
-
- 2 modified
-
block.mtentries.php (modified) (1 diff)
-
mtdb_base.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/release-36/php/lib/block.mtentries.php
r2103 r2129 101 101 if ( isset($args['offset']) && ($args['offset'] == 'auto') ) 102 102 $total_count = 0; 103 $entries =& $ctx->mt->db->fetch_entries($args, $total_count);103 $entries =& $ctx->mt->db->fetch_entries($args, &$total_count); 104 104 if ( isset($args['offset']) && ($args['offset'] == 'auto') ) 105 105 $ctx->stash('__pager_total_count', $total_count); -
branches/release-36/php/lib/mtdb_base.php
r2104 r2129 449 449 } 450 450 451 function &fetch_entries($args, &$total_count = NULL) {451 function &fetch_entries($args, $total_count = NULL) { 452 452 if ($sql = $this->include_exclude_blogs($args)) { 453 453 $blog_filter = 'and entry_blog_id ' . $sql;
