Skip to content
Snippets Groups Projects
Commit f4963a4e authored by runzipel's avatar runzipel Committed by Mahyar SBT
Browse files

Issue #3399959 by shalini_jha, MukhtarM, runzipel: Deprecated function: trim():

parent ad721ec0
No related branches found
No related tags found
No related merge requests found
Pipeline #46105 passed
......@@ -88,7 +88,8 @@ class SplittingManager implements SplittingManagerInterface {
->limit(50)
->fields('s');
if (!empty(trim($search))) {
if (!empty($search) && $search !== null) {
$search = trim((string) $search);
// Escape for LIKE matching.
$search = $this->connection->escapeLike($search);
// Replace wildcards with MySQL/PostgreSQL wildcards.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment