Changeset 3399:cafdaa2542dc for inc/core
- Timestamp:
- 11/09/16 18:31:31 (9 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.auth.php
r3340 r3399 438 438 else 439 439 { 440 $strReq = 'SELECT blog_id '.441 'FROM '.$this->perm_table.' '.440 $strReq = 'SELECT P.blog_id '. 441 'FROM '.$this->perm_table.' P, '.$this->blog_table.' B '. 442 442 "WHERE user_id = '".$this->con->escape($this->user_id)."' ". 443 "AND P.blog_id = B.blog_id ". 443 444 "AND (permissions LIKE '%|usage|%' OR permissions LIKE '%|admin|%' OR permissions LIKE '%|contentadmin|%') ". 444 'ORDER BY blog_id ASC '. 445 "AND blog_status >= 0 ". 446 'ORDER BY P.blog_id ASC '. 445 447 $this->con->limit(1); 446 448 }
Note: See TracChangeset
for help on using the changeset viewer.