|
@@ 254-258 (lines=5) @@
|
| 251 |
|
global $salvageBoardID; |
| 252 |
|
|
| 253 |
|
// Only if we don't have a reasonable idea of where to put it. |
| 254 |
|
if ($row['id_board'] == 0) |
| 255 |
|
{ |
| 256 |
|
createSalvageArea(); |
| 257 |
|
$row['id_board'] = $_SESSION['salvageBoardID'] = (int) $salvageBoardID; |
| 258 |
|
} |
| 259 |
|
|
| 260 |
|
// Make sure that no topics claim the first/last message as theirs. |
| 261 |
|
$smcFunc['db_query']('', ' |
|
@@ 379-384 (lines=6) @@
|
| 376 |
|
$row['poster_name'] = !empty($row['poster_name']) ? $row['poster_name'] : $txt['guest']; |
| 377 |
|
$row['id_poster'] = !empty($row['id_poster']) ? $row['id_poster'] : 0; |
| 378 |
|
|
| 379 |
|
if (empty($row['id_board'])) |
| 380 |
|
{ |
| 381 |
|
// Only if we don't have a reasonable idea of where to put it. |
| 382 |
|
createSalvageArea(); |
| 383 |
|
$row['id_board'] = $_SESSION['salvageBoardID'] = (int) $salvageBoardID; |
| 384 |
|
} |
| 385 |
|
|
| 386 |
|
if (empty($row['id_topic'])) |
| 387 |
|
{ |
|
@@ 514-518 (lines=5) @@
|
| 511 |
|
global $salvageBoardID; |
| 512 |
|
|
| 513 |
|
// Only if we don't have a reasonable idea of where to put it. |
| 514 |
|
if ($row['id_board'] == 0) |
| 515 |
|
{ |
| 516 |
|
createSalvageArea(); |
| 517 |
|
$row['id_board'] = $_SESSION['salvageBoardID'] = (int) $salvageBoardID; |
| 518 |
|
} |
| 519 |
|
|
| 520 |
|
$row['poster_name'] = !empty($row['poster_name']) ? $row['poster_name'] : $txt['guest']; |
| 521 |
|
|