Zeile 1647 | Zeile 1647 |
---|
$group_permissions = forum_permissions(); foreach($group_permissions as $fid => $forum_permissions) {
|
$group_permissions = forum_permissions(); foreach($group_permissions as $fid => $forum_permissions) {
|
if($forum_permissions['canonlyviewownthreads'] == 1)
| if(isset($forum_permissions['canonlyviewownthreads']) && $forum_permissions['canonlyviewownthreads'] == 1)
|
{ $onlyusfids[] = $fid; }
| { $onlyusfids[] = $fid; }
|
Zeile 1709 | Zeile 1709 |
---|
// Searching a specific thread? $tidsql = '';
|
// Searching a specific thread? $tidsql = '';
|
if($search['tid'])
| if(!empty($search['tid']))
|
{ $tidsql = " AND t.tid='".(int)$search['tid']."'"; }
| { $tidsql = " AND t.tid='".(int)$search['tid']."'"; }
|
Zeile 1727 | Zeile 1727 |
---|
if($search['postthread'] == 1) { // No need to search subjects when looking for results within a specific thread
|
if($search['postthread'] == 1) { // No need to search subjects when looking for results within a specific thread
|
if(!$search['tid'])
| if(empty($search['tid']))
|
{ $query = $db->query(" SELECT t.tid, t.firstpost
| { $query = $db->query(" SELECT t.tid, t.firstpost
|