Changeset 723
- Timestamp:
- 01/22/09 18:02:57 (14 years ago)
- Location:
- plugins/multiBlogSearch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/multiBlogSearch/_define.php
r721 r723 15 15 /* Description*/ "Find all posts in all blogs", 16 16 /* Author */ "Tomtom (http://blog.zenstyle.fr)", 17 /* Version */ '0.3 ',17 /* Version */ '0.3.1', 18 18 /* Permissions */ 'usage,contentadmin' 19 19 ); -
plugins/multiBlogSearch/inc/class.multi.blog.search.php
r722 r723 31 31 unset($s); 32 32 } 33 $where = ' ('.implode(' OR ',$sb).') ';33 $where = count($sb) > 0 ? ' ('.implode(' OR ',$sb).') ' : " P.blog_id = '' "; 34 34 35 35 if ($count_only) … … 74 74 75 75 $strReq .= "WHERE ".$where; 76 //"WHERE P.blog_id != '' ";77 76 78 77 if (!$this->core->auth->check('contentadmin',$this->core->blog->id)) {
Note: See TracChangeset
for help on using the changeset viewer.