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
78ae6325
Commit
78ae6325
authored
Aug 26, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #4812
parent
51300fc9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
LogTarget.php
extensions/debug/LogTarget.php
+1
-1
SameAs.php
extensions/debug/components/search/matchers/SameAs.php
+1
-1
No files found.
extensions/debug/LogTarget.php
View file @
78ae6325
...
@@ -139,7 +139,7 @@ class LogTarget extends Target
...
@@ -139,7 +139,7 @@ class LogTarget extends Target
$summary
=
[
$summary
=
[
'tag'
=>
$this
->
tag
,
'tag'
=>
$this
->
tag
,
'url'
=>
$request
->
getAbsoluteUrl
(),
'url'
=>
$request
->
getAbsoluteUrl
(),
'ajax'
=>
$request
->
getIsAjax
(),
'ajax'
=>
(
int
)
$request
->
getIsAjax
(),
'method'
=>
$request
->
getMethod
(),
'method'
=>
$request
->
getMethod
(),
'ip'
=>
$request
->
getUserIP
(),
'ip'
=>
$request
->
getUserIP
(),
'time'
=>
time
(),
'time'
=>
time
(),
...
...
extensions/debug/components/search/matchers/SameAs.php
View file @
78ae6325
...
@@ -27,7 +27,7 @@ class SameAs extends Base
...
@@ -27,7 +27,7 @@ class SameAs extends Base
public
function
match
(
$value
)
public
function
match
(
$value
)
{
{
if
(
$this
->
partial
)
{
if
(
$this
->
partial
)
{
return
mb_stripos
(
$value
,
$this
->
baseValue
,
\Yii
::
$app
->
charset
)
!==
false
;
return
mb_stripos
(
$value
,
$this
->
baseValue
,
0
,
\Yii
::
$app
->
charset
)
!==
false
;
}
else
{
}
else
{
return
strcmp
(
mb_strtoupper
(
$this
->
baseValue
,
\Yii
::
$app
->
charset
),
mb_strtoupper
(
$value
,
\Yii
::
$app
->
charset
))
===
0
;
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