Dotclear


Ignore:
Timestamp:
11/09/16 23:27:55 (9 years ago)
Author:
Jean-Christian Denis
Branch:
default
Message:

Add blog status to Blogs filters, addresses #1566

File:
1 edited

Legend:

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

    r3269 r3400  
    10151015          } elseif (!$this->auth->userID()) { 
    10161016               $where = 'AND blog_status IN (1,0) '; 
     1017          } 
     1018 
     1019          if (!empty($params['blog_status']) && $this->auth->isSuperAdmin()) { 
     1020               $where = 'AND blog_status = '.(integer) $params['blog_status'].' '; 
    10171021          } 
    10181022 
Note: See TracChangeset for help on using the changeset viewer.

Sites map