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
cedb9cd0
Commit
cedb9cd0
authored
10 years ago
by
Jared Hancock
Browse files
Options
Downloads
Patches
Plain Diff
lint: Fix static analysis errors
parent
f97dfaa6
No related branches found
Branches containing commit
Tags
v1.9.4-dpr
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/class.plugin.php
+2
-0
2 additions, 0 deletions
include/class.plugin.php
include/class.search.php
+1
-0
1 addition, 0 deletions
include/class.search.php
setup/test/tests/stubs.php
+9
-0
9 additions, 0 deletions
setup/test/tests/stubs.php
with
12 additions
and
0 deletions
include/class.plugin.php
+
2
−
0
View file @
cedb9cd0
...
...
@@ -68,6 +68,8 @@ class PluginConfig extends Config {
}
function
commitForm
(
&
$errors
=
array
())
{
global
$msg
;
$f
=
$this
->
getForm
();
$commit
=
false
;
if
(
$f
->
isValid
())
{
...
...
This diff is collapsed.
Click to expand it.
include/class.search.php
+
1
−
0
View file @
cedb9cd0
...
...
@@ -296,6 +296,7 @@ class MysqlSearchBackend extends SearchBackend {
$key
=
'COALESCE(B1.ticket_id, B2.ticket_id, B3.ticket_id, B4.ticket_id)'
;
$tables
[]
=
"
{
$P
}
ticket A1 ON (A1.ticket_id =
{
$key
}
)"
;
$cdata_search
=
false
;
$where
=
array
();
if
(
$criteria
)
{
foreach
(
$criteria
as
$name
=>
$value
)
{
...
...
This diff is collapsed.
Click to expand it.
setup/test/tests/stubs.php
+
9
−
0
View file @
cedb9cd0
...
...
@@ -10,6 +10,7 @@ class mysqli {
function
real_connect
()
{}
function
select_db
()
{}
function
set_charset
()
{}
function
autocommit
()
{}
}
class
mysqli_stmt
{
...
...
@@ -113,4 +114,12 @@ class finfo {
class
Locale
{
function
getDisplayName
()
{}
}
class
IntlBreakIterator
{
static
function
createWordInstance
()
{}
function
setText
()
{}
}
class
SqlFunction
{
static
function
NOW
()
{}
}
?>
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