Changeset 2091

Show
Ignore:
Timestamp:
04/25/08 01:26:16 (22 months ago)
Author:
fumiakiy
Message:

PHP tags for Widget Manager. BugId:68750

Location:
branches/release-36/php/lib
Files:
2 added
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-36/php/lib/mtdb_base.php

    r2049 r2091  
    360360    function get_template_text($ctx, $module, $blog_id = null, $type = 'custom', $global = null) { 
    361361        $blog_id or $blog_id = $ctx->stash('blog_id'); 
    362         if (($type === 'custom' || $type === 'widget')) { 
     362        if ($type === 'custom' || $type === 'widget'|| $type === 'widgetset') { 
    363363            $col = 'template_name'; 
    364364            $type_filter = "and template_type='$type'";