mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 18:14:26 +02:00
Fixes #5211 - Fatal error on search.
This commit is contained in:
@@ -201,8 +201,10 @@ if (isset($_POST['update_prefs']))
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
if(empty($search_prefs['core_handlers']))
|
||||
{
|
||||
$search_prefs['core_handlers'] = [];
|
||||
}
|
||||
|
||||
$handlers_total = count($search_prefs['core_handlers']) + count($search_prefs['plug_handlers']);
|
||||
|
||||
@@ -264,7 +266,7 @@ if ($query[0] == 'settings')
|
||||
<tr>
|
||||
<td>".SEALAN_3."</td>
|
||||
<td class='form-inline'>
|
||||
".$frm->radio_switch('search_sort', $search_prefs['mysql_sort'], 'MySQL', SEALAN_31)."
|
||||
".$frm->radio_switch('search_sort', $search_prefs['mysql_sort'], 'MySQL', 'PHP')."
|
||||
".$frm->text('php_limit', $tp -> toForm($search_prefs['php_limit']), 5, 'class=tbox&size=mini')." ".SEALAN_32."
|
||||
<span class='field-help'>".SEALAN_49."</span>
|
||||
</td>
|
||||
|
Reference in New Issue
Block a user