added missing AND
This commit is contained in:
parent
6357f476c0
commit
20524cfef5
|
@ -42,7 +42,7 @@ if [[ -n $forward ]]; then
|
||||||
dbquery="$dbquery AND vm_forwards.forward_to='$mbox@$domain'"
|
dbquery="$dbquery AND vm_forwards.forward_to='$mbox@$domain'"
|
||||||
elif [[ -n $domain ]]; then
|
elif [[ -n $domain ]]; then
|
||||||
# add specific domain
|
# add specific domain
|
||||||
dbquery="$dbquery vm_domains.domain='$domain'"
|
dbquery="$dbquery AND vm_domains.domain='$domain'"
|
||||||
if [[ -n "$mbox" ]]; then
|
if [[ -n "$mbox" ]]; then
|
||||||
# search for forward for specific email address
|
# search for forward for specific email address
|
||||||
dbquery="$dbquery AND vm_mboxes.mbox='$mbox'"
|
dbquery="$dbquery AND vm_mboxes.mbox='$mbox'"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user