Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
osticket
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
docker
osticket
Commits
6710dda0
Commit
6710dda0
authored
9 years ago
by
Jared Hancock
Browse files
Options
Downloads
Patches
Plain Diff
lint: Fix several test fixture failures
parent
440c1748
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/ajax.kbase.php
+1
-1
1 addition, 1 deletion
include/ajax.kbase.php
include/class.message.php
+2
-2
2 additions, 2 deletions
include/class.message.php
with
3 additions
and
3 deletions
include/ajax.kbase.php
+
1
−
1
View file @
6710dda0
...
@@ -74,7 +74,7 @@ class KbaseAjaxAPI extends AjaxController {
...
@@ -74,7 +74,7 @@ class KbaseAjaxAPI extends AjaxController {
if
(
!
(
$faq
=
FAQ
::
lookup
(
$id
)))
if
(
!
(
$faq
=
FAQ
::
lookup
(
$id
)))
Http
::
response
(
404
,
'No such faq article'
);
Http
::
response
(
404
,
'No such faq article'
);
$form
=
new
FaqAccessMgmtForm
(
$_POST
?:
$faq
->
getHash
T
able
());
$form
=
new
FaqAccessMgmtForm
(
$_POST
?:
$faq
->
getHash
t
able
());
if
(
$_POST
&&
$form
->
isValid
())
{
if
(
$_POST
&&
$form
->
isValid
())
{
$clean
=
$form
->
getClean
();
$clean
=
$form
->
getClean
();
...
...
This diff is collapsed.
Click to expand it.
include/class.message.php
+
2
−
2
View file @
6710dda0
...
@@ -132,7 +132,7 @@ class SimpleMessage implements Message {
...
@@ -132,7 +132,7 @@ class SimpleMessage implements Message {
function
getTags
()
{
function
getTags
()
{
$tags
=
array_merge
(
$tags
=
array_merge
(
array
(
Messages
::
getLevel
Tag
(
$this
->
level
)),
array
(
strtolower
(
Messages
::
getLevel
Name
(
$this
->
level
))
)
,
$this
->
tags
?:
array
());
$this
->
tags
?:
array
());
return
implode
(
' '
,
$tags
);
return
implode
(
' '
,
$tags
);
}
}
...
@@ -232,7 +232,7 @@ class SessionMessageStorage extends BaseMessageStorage {
...
@@ -232,7 +232,7 @@ class SessionMessageStorage extends BaseMessageStorage {
Signal
::
connect
(
'session.close'
,
function
(
$null
,
$info
)
use
(
$self
)
{
Signal
::
connect
(
'session.close'
,
function
(
$null
,
$info
)
use
(
$self
)
{
// Whether or not the session data should be re-encoded to
// Whether or not the session data should be re-encoded to
// reflect changes made in this routine
// reflect changes made in this routine
$info
[
'touched'
]
=
$
this
->
added_new
||
(
$
this
->
used
&&
count
(
$
this
->
list
));
$info
[
'touched'
]
=
$
self
->
added_new
||
(
$
self
->
used
&&
count
(
$
self
->
list
));
$self
->
update
();
$self
->
update
();
});
});
}
}
...
...
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