Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
7dc68683
Commit
7dc68683
authored
Aug 16, 2022
by
Michael Seevogel
Browse files
Use unequal operator for if statement
parent
d6f2cadc
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/lib/plugins/system_config_dns_ca_plugin.inc.php
View file @
7dc68683
...
...
@@ -69,7 +69,7 @@ class system_config_dns_ca_plugin {
$global_config
=
$app
->
getconf
->
get_global_config
(
'sites'
);
if
((
$page_form
->
dataRecord
[
'ssl_letsencrypt'
]
==
'y'
)
&&
(
$global_config
[
'le_caa_autocreate_options'
]
=
=
'
y
'
))
{
if
((
$page_form
->
dataRecord
[
'ssl_letsencrypt'
]
==
'y'
)
&&
(
$global_config
[
'le_caa_autocreate_options'
]
!
=
'
n
'
))
{
$domain
=
$page_form
->
dataRecord
[
'domain'
];
$subdomain
=
$page_form
->
dataRecord
[
'subdomain'
];
$temp
=
$app
->
db
->
queryAllRecords
(
"SELECT * FROM dns_rr WHERE type = 'CAA' AND (name = ? OR name = ?) AND data like ?"
,
$domain
.
'.'
,
$subdomain
.
'.'
.
$domain
.
'.'
,
'%letsencrypt%'
);
...
...
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