Show
Ignore:
Timestamp:
04/16/08 10:50:21 (20 months ago)
Author:
takayama
Message:

Fixed BugId:76389
* Loop tags does not add 'glue', if row in loop tag was empty

  • MTFor
  • MTLoop
  • MTTags
  • MTEntryTags
  • MTEntries
  • MTEntryCategories
  • MTCategories
  • MTEntryAdditionalCategories
  • MTParentCategories
  • MTAssetTags
  • MTPagerBlock
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-35/php/lib/MTUtil.php

    r1800 r1926  
    891891        if ($ctx->stash('entry')) { 
    892892            $entry = $ctx->stash('entry'); 
     893            if (empty($entry['placement_category_id'])) 
     894                return null; 
    893895            if ($class == 'folder') 
    894896                $cat = $ctx->mt->db->fetch_folder($entry['placement_category_id']);