Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
6c2436ec
Commit
6c2436ec
authored
Sep 15, 2015
by
Jan-Claas Dirks
Browse files
correct backticking of columns in queries from soap interface
parent
74bb8508
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/lib/classes/remoting_lib.inc.php
View file @
6c2436ec
...
...
@@ -243,9 +243,9 @@ class remoting_lib extends tform_base {
if
(
$key
==
'#OFFSET#'
)
$sql_offset
=
$app
->
functions
->
intval
(
$val
);
elseif
(
$key
==
'#LIMIT#'
)
$sql_limit
=
$app
->
functions
->
intval
(
$val
);
elseif
(
stristr
(
$val
,
'%'
))
{
$sql_where
.
=
"? like ? AND "
;
$sql_where
.
=
"?
?
like ? AND "
;
}
else
{
$sql_where
.
=
"? = ? AND "
;
$sql_where
.
=
"?
?
= ? AND "
;
}
$params
[]
=
$key
;
$params
[]
=
$val
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment