Sources/Search.php 1 location
|
@@ 967-971 (lines=5) @@
|
| 964 |
|
call_integration_hook('integrate_search_errors'); |
| 965 |
|
|
| 966 |
|
// One or more search errors? Go back to the first search screen. |
| 967 |
|
if (!empty($context['search_errors'])) |
| 968 |
|
{ |
| 969 |
|
$_REQUEST['params'] = $context['params']; |
| 970 |
|
return PlushSearch1(); |
| 971 |
|
} |
| 972 |
|
|
| 973 |
|
// Spam me not, Spam-a-lot? |
| 974 |
|
if (empty($_SESSION['last_ss']) || $_SESSION['last_ss'] != $search_params['search']) |
Sources/PersonalMessage.php 1 location
|
@@ 1493-1497 (lines=5) @@
|
| 1490 |
|
$timeQuery .= ' AND pm.msgtime > ' . (time() - $search_params['maxage'] * 86400); |
| 1491 |
|
|
| 1492 |
|
// If we have errors - return back to the first screen... |
| 1493 |
|
if (!empty($context['search_errors'])) |
| 1494 |
|
{ |
| 1495 |
|
$_REQUEST['params'] = $context['params']; |
| 1496 |
|
return MessageSearch(); |
| 1497 |
|
} |
| 1498 |
|
|
| 1499 |
|
// Get the amount of results. |
| 1500 |
|
$request = $smcFunc['db_query']('', ' |