Show
Ignore:
Timestamp:
06/30/08 04:41:37 (17 months ago)
Author:
takayama
Message:

Fixed BugId:80318
* When entrieds in the stash is empty, re-fetch from database.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-41/php/lib/function.mtentriescount.php

    r1956 r2655  
    1313    } else { 
    1414        $entries = $ctx->stash('entries'); 
    15         if (!is_array($entries)){ 
     15        if (empty($entries) || !is_array($entries)){ 
    1616            $blog = $ctx->stash('blog'); 
    1717            $args['blog_id'] = $blog['blog_id'];