Dotclear


Ignore:
File:
1 edited

Legend:

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

    r1620 r1689  
    199199     /** 
    200200     Updates comments and trackbacks counters in post table. Should be called 
    201      every time comments or trackbacks are added, removed or changed there status. 
     201     every time comments or trackbacks are added, removed or changed their status. 
    202202      
    203203     @param    ids       <b>mixed</b>        Comment(s) ID(s) 
     
    18801880     - cat_id: (integer or array) Get comments belonging to entries of given category ID 
    18811881     - comment_id: (integer) Get comment with given ID 
     1882     - comment_site: (string) Get comments with given comment_site 
    18821883     - comment_status: (integer) Get comments with given comment_status 
    18831884     - comment_trackback: (integer) Get only comments (0) or trackbacks (1) 
     
    19691970          if (isset($params['comment_id']) && $params['comment_id'] !== '') { 
    19701971               $strReq .= 'AND comment_id = '.(integer) $params['comment_id'].' '; 
     1972          } 
     1973           
     1974          if (isset($params['comment_site'])) { 
     1975               $comment_site = $this->con->escape(str_replace('*','%',$params['comment_site'])); 
     1976               $strReq .= "AND comment_site LIKE '".$comment_site."' "; 
    19711977          } 
    19721978           
Note: See TracChangeset for help on using the changeset viewer.

Sites map