Dotclear


Ignore:
Timestamp:
06/23/11 13:00:59 (14 years ago)
Author:
Dsls <dsls@…>
Branch:
default
Message:
  • Re-enabled blank post_type required by media.php in class dcBlog
  • Attachments are now handled by a plugins/attachments/_admin.php
  • Added core dcPostMedia multi-purpose class, and 'link_type' in post_media table
  • Added new behavior : tplIfConditions, to enable to add new attributes to tpl:XXXIf tags
  • Moved tpl:SysIf has_tag attribute to Tags plugin
File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/core/class.dc.blog.php

    r340 r407  
    727727          if (isset($params['post_type'])) 
    728728          { 
    729                $strReq .= 'AND post_type '.$this->con->in($params['post_type']); 
     729               if (is_array($params['post_type']) || $params['post_type'] != '') { 
     730                    $strReq .= 'AND post_type '.$this->con->in($params['post_type']); 
     731               } 
    730732          } 
    731733          else 
Note: See TracChangeset for help on using the changeset viewer.

Sites map