Skip to content

Commit 5d03639

Browse files
author
Marius Cramer
committed
- fixed sql query in apache plugin
1 parent a977405 commit 5d03639

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/apache2_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ function update($event_name, $data) {
452452
}
453453

454454
// This is not a vhost, so we need to update the parent record instead.
455-
$tmp = $app->db->queryOneRecord('SELECT * FROM web_domain WHERE domain_id = ? AND active = ', $new_parent_domain_id, 'y');
455+
$tmp = $app->db->queryOneRecord('SELECT * FROM web_domain WHERE domain_id = ? AND active = ?', $new_parent_domain_id, 'y');
456456
$data['new'] = $tmp;
457457
$data['old'] = $tmp;
458458
$this->action = 'update';

0 commit comments

Comments
 (0)