Update batch_manager_global.tpl

Fix:

Undefined array key "search" in _data/templates_c/....file.batch_manager_global.tpl.php on line 685

Trying to access array offset on value of type null in _data/templates_c/....file.batch_manager_global.tpl.php on line 685

PHP Deprecated:  stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in _data/templates_c/....file.batch_manager_global.tpl.php on line 685
This commit is contained in:
OSWorX 2023-09-24 16:04:49 +02:00 committed by Pierrick Le Gall
parent 02afefdd3e
commit 195230b631

View file

@ -492,7 +492,7 @@ var sliders = {
<input type="checkbox" name="filter_search_use" class="useFilterCheckbox"{if isset($filter.search)} checked="checked"{/if}>
<p>{'Search'|@translate}</p>
<a href="#" class="removeFilter" title="{'remove this filter'|translate}"><span>[x]</span></a>
<input name="q" size=40 value="{$filter.search.q|stripslashes|htmlspecialchars}">
<input name="q" size=40 value="{if isset($filter.search)} {$filter.search.q|stripslashes|htmlspecialchars}{/if}">
<a href="admin/popuphelp.php?page=quick_search" onclick="popuphelp(this.href);return false;" title="{'Help'|@translate}"><span class="icon-help-circled">{'Search tips'|translate}</span></a>
{combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'}
{if (isset($no_search_results))}
@ -829,4 +829,4 @@ UL.thumbnails SPAN.wrap2 {ldelim}
#action_add_tags .item .remove:hover {
background-color: #ff7700;
}
</style>
</style>