#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,
|
||||
'search_string' => $search_string,
|
||||
'search_type' => $search_type,
|
||||
'alert_flag' => true,
|
||||
],
|
||||
true,
|
||||
false
|
||||
|
|
|
@ -4834,7 +4834,7 @@ function ui_get_url_refresh($params=false, $relative=true, $add_post=true)
|
|||
$url = substr_replace($url, '', $pos, 5);
|
||||
}
|
||||
|
||||
$url = htmlspecialchars($url);
|
||||
$url = (isset($params['alert_flag']) && $params['alert_flag']) ? $url : htmlspecialchars($url);
|
||||
|
||||
if (! $relative) {
|
||||
return ui_get_full_url($url, false, false, false);
|
||||
|
|
Loading…
Reference in New Issue