Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
splitting
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
splitting
Commits
f4963a4e
Commit
f4963a4e
authored
1 year ago
by
runzipel
Committed by
Mahyar SBT
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
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
1 year ago
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
splitting_ui/src/SplittingManager.php
+2
-1
2 additions, 1 deletion
splitting_ui/src/SplittingManager.php
with
2 additions
and
1 deletion
splitting_ui/src/SplittingManager.php
+
2
−
1
View file @
f4963a4e
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment