| @@ 435-439 (lines=5) @@ | ||
| 432 | 'selected_message' => (int) $messageID, |
|
| 433 | ) |
|
| 434 | ); |
|
| 435 | if ($smcFunc['db_num_rows']($result) > 0) |
|
| 436 | list ($memberID) = $smcFunc['db_fetch_row']($result); |
|
| 437 | // The message doesn't even exist. |
|
| 438 | else |
|
| 439 | $memberID = 0; |
|
| 440 | $smcFunc['db_free_result']($result); |
|
| 441 | ||
| 442 | return (int) $memberID; |
|
| @@ 1684-1685 (lines=2) @@ | ||
| 1681 | 'db_error_skip' => true, |
|
| 1682 | ) |
|
| 1683 | ); |
|
| 1684 | if ($smcFunc['db_num_rows']($result) != 0) |
|
| 1685 | list ($db_sessions) = $smcFunc['db_fetch_row']($result); |
|
| 1686 | $smcFunc['db_free_result']($result); |
|
| 1687 | ||
| 1688 | if (empty($db_sessions)) |
|
| @@ 1780-1781 (lines=2) @@ | ||
| 1777 | 'cat_name' => $txt['salvaged_category_name'], |
|
| 1778 | ) |
|
| 1779 | ); |
|
| 1780 | if ($smcFunc['db_num_rows']($result) != 0) |
|
| 1781 | list ($salvageCatID) = $smcFunc['db_fetch_row']($result); |
|
| 1782 | $smcFunc['db_free_result']($result); |
|
| 1783 | ||
| 1784 | if (empty($salvageCatID)) |
|
| @@ 1813-1814 (lines=2) @@ | ||
| 1810 | 'board_name' => $txt['salvaged_board_name'], |
|
| 1811 | ) |
|
| 1812 | ); |
|
| 1813 | if ($smcFunc['db_num_rows']($result) != 0) |
|
| 1814 | list ($salvageBoardID) = $smcFunc['db_fetch_row']($result); |
|
| 1815 | $smcFunc['db_free_result']($result); |
|
| 1816 | ||
| 1817 | if (empty($salvageBoardID)) |
|