| @@ 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; |
|
| @@ 1802-1803 (lines=2) @@ | ||
| 1799 | 'cat_name' => $txt['salvaged_category_name'], |
|
| 1800 | ) |
|
| 1801 | ); |
|
| 1802 | if ($smcFunc['db_num_rows']($result) != 0) |
|
| 1803 | list ($salvageCatID) = $smcFunc['db_fetch_row']($result); |
|
| 1804 | $smcFunc['db_free_result']($result); |
|
| 1805 | ||
| 1806 | if (empty($salvageCatID)) |
|
| @@ 1835-1836 (lines=2) @@ | ||
| 1832 | 'board_name' => $txt['salvaged_board_name'], |
|
| 1833 | ) |
|
| 1834 | ); |
|
| 1835 | if ($smcFunc['db_num_rows']($result) != 0) |
|
| 1836 | list ($salvageBoardID) = $smcFunc['db_fetch_row']($result); |
|
| 1837 | $smcFunc['db_free_result']($result); |
|
| 1838 | ||
| 1839 | if (empty($salvageBoardID)) |
|
| @@ 1673-1674 (lines=2) @@ | ||
| 1670 | 'db_error_skip' => true, |
|
| 1671 | ) |
|
| 1672 | ); |
|
| 1673 | if ($smcFunc['db_num_rows']($result) != 0) |
|
| 1674 | list ($db_sessions) = $smcFunc['db_fetch_row']($result); |
|
| 1675 | $smcFunc['db_free_result']($result); |
|
| 1676 | ||
| 1677 | if (empty($db_sessions)) |
|