#11025 Fixed the bug that cuts the text of the Search field
This commit is contained in:
parent
8e42ee6c82
commit
9a20ea1231
|
@ -287,6 +287,7 @@ $url = ui_get_url_refresh(
|
||||||
'offset' => false,
|
'offset' => false,
|
||||||
'search_string' => $search_string,
|
'search_string' => $search_string,
|
||||||
'search_type' => $search_type,
|
'search_type' => $search_type,
|
||||||
|
'alert_flag' => true,
|
||||||
],
|
],
|
||||||
true,
|
true,
|
||||||
false
|
false
|
||||||
|
|
|
@ -4834,7 +4834,7 @@ function ui_get_url_refresh($params=false, $relative=true, $add_post=true)
|
||||||
$url = substr_replace($url, '', $pos, 5);
|
$url = substr_replace($url, '', $pos, 5);
|
||||||
}
|
}
|
||||||
|
|
||||||
$url = htmlspecialchars($url);
|
$url = (isset($params['alert_flag']) && $params['alert_flag']) ? $url : htmlspecialchars($url);
|
||||||
|
|
||||||
if (! $relative) {
|
if (! $relative) {
|
||||||
return ui_get_full_url($url, false, false, false);
|
return ui_get_full_url($url, false, false, false);
|
||||||
|
|
Loading…
Reference in New Issue