Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
22839d92
Commit
22839d92
authored
Aug 25, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #4812: Fixed search filter
parent
fc03527a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
CHANGELOG.md
extensions/debug/CHANGELOG.md
+1
-0
SameAs.php
extensions/debug/components/search/matchers/SameAs.php
+3
-3
No files found.
extensions/debug/CHANGELOG.md
View file @
22839d92
...
...
@@ -6,6 +6,7 @@ Yii Framework 2 debug extension Change Log
-
Bug #1263: Fixed the issue that Gii and Debug modules might be affected by incompatible asset manager configuration (qiangxue)
-
Bug #3956: Debug toolbar was affecting flash message removal (samdark)
-
Bug #4812: Fixed search filter (samdark)
-
Enh #2299: Date and time in request list is now never wrapped (samdark)
-
Enh #3088: The debug module will manage their own URL rules now (qiangxue)
-
Enh #3103: debugger panel is now not displayed when printing a page (githubjeka)
...
...
extensions/debug/components/search/matchers/SameAs.php
View file @
22839d92
...
...
@@ -26,10 +26,10 @@ class SameAs extends Base
*/
public
function
match
(
$value
)
{
if
(
!
$this
->
partial
)
{
return
(
mb_strtolower
(
$this
->
baseValue
,
'utf8'
)
==
mb_strtolower
(
$value
,
'utf8'
))
;
if
(
$this
->
partial
)
{
return
mb_stripos
(
$value
,
$this
->
baseValue
,
\Yii
::
$app
->
charset
)
!==
false
;
}
else
{
return
(
mb_strpos
(
mb_strtolower
(
$value
,
'utf8'
),
mb_strtolower
(
$this
->
baseValue
,
'utf8'
))
!==
false
)
;
return
strcmp
(
mb_strtoupper
(
$this
->
baseValue
,
\Yii
::
$app
->
charset
),
mb_strtoupper
(
$value
,
\Yii
::
$app
->
charset
))
===
0
;
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment