pull/24/head
Jan-Frederik Rieckers 9 years ago
parent 7ee587bb87
commit 797da4f694
No known key found for this signature in database
GPG Key ID: 664B03955EA04DEF

@ -60,7 +60,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
$recipients = [];
$q = "SELECT username from $table_mailbox WHERE ".db_in_clause("domain", $wanted_domains);
if(!isset($_POST['bailboxes_only']) || $_POST['mailboxes_only'] != "on") {
if(!isset($_POST['mailboxes_only']) || $_POST['mailboxes_only'] != "on") {
$q .= " UNION SELECT goto FROM $table_alias WHERE ".db_in_clause("domain", $wanted_domains)."AND goto NOT IN ($q)";
}
$result = db_query($q);

Loading…
Cancel
Save