Sources/Display.php 1 location
|
@@ 1004-1005 (lines=2) @@
|
| 1001 |
|
$temp = array(); |
| 1002 |
|
while ($row = $smcFunc['db_fetch_assoc']($request)) |
| 1003 |
|
{ |
| 1004 |
|
if (!$row['approved'] && $modSettings['postmod_active'] && !allowedTo('approve_posts') && (!isset($all_posters[$row['id_msg']]) || $all_posters[$row['id_msg']] != $user_info['id'])) |
| 1005 |
|
continue; |
| 1006 |
|
|
| 1007 |
|
$temp[$row['id_attach']] = $row; |
| 1008 |
|
$temp[$row['id_attach']]['topic'] = $topic; |
Sources/Subs-Attachments.php 1 location
|
@@ 1091-1092 (lines=2) @@
|
| 1088 |
|
$temp = array(); |
| 1089 |
|
while ($row = $smcFunc['db_fetch_assoc']($request)) |
| 1090 |
|
{ |
| 1091 |
|
if (!$row['approved'] && $modSettings['postmod_active'] && !allowedTo('approve_posts') && (!isset($all_posters[$row['id_msg']]) || $all_posters[$row['id_msg']] != $user_info['id'])) |
| 1092 |
|
continue; |
| 1093 |
|
|
| 1094 |
|
$temp[$row['id_attach']] = $row; |
| 1095 |
|
} |