Changeset 4133

Show
Ignore:
Timestamp:
08/05/09 21:29:21 (8 months ago)
Author:
plim
Message:

Something I overlooked. Global blog id should be 0, not 1.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/hanson/lib/MT/App/Search.pm

    r4132 r4133  
    731731                unless ($tmpl); 
    732732            return $app->errtrans( 'template_id cannot be a global template' ) 
    733                 if ($tmpl->blog_id == 1); 
     733                if ($tmpl->blog_id == 0); 
    734734            return $app->errtrans( 'Output file cannot be asp or php' ) 
    735735                if ($tmpl->outfile && !$app->config->SearchAlwaysAllowTemplateID