Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
lolo888
ISPConfig 3
Commits
626928de
Commit
626928de
authored
Aug 06, 2010
by
jmontoya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing query in remoting::mail_domain_set_status
parent
e1358932
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
interface/lib/classes/remoting.inc.php
interface/lib/classes/remoting.inc.php
+1
-1
No files found.
interface/lib/classes/remoting.inc.php
View file @
626928de
...
...
@@ -2365,7 +2365,7 @@ class remoting {
}
else
{
$status
=
'n'
;
}
$sql
=
"UPDATE mail_domain SET active = '
$status
' WHERE id = "
.
intval
(
$primary_id
);
$sql
=
"UPDATE mail_domain SET active = '
$status
' WHERE
domain_
id = "
.
intval
(
$primary_id
);
$app
->
db
->
query
(
$sql
);
$result
=
$app
->
db
->
affectedRows
();
return
$result
;
...
...
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