From bf9fd071bad641f7fce6d3e3ed61f866841ec183 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 30 Nov 2006 07:06:34 +0000 Subject: [PATCH] Use binary operator instead of boolean git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5260 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/gofax/faxaccount/class_gofaxAccount.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gofax/faxaccount/class_gofaxAccount.inc b/plugins/gofax/faxaccount/class_gofaxAccount.inc index 283799d59..8cda3f991 100644 --- a/plugins/gofax/faxaccount/class_gofaxAccount.inc +++ b/plugins/gofax/faxaccount/class_gofaxAccount.inc @@ -647,7 +647,7 @@ class gofaxAccount extends plugin /* IF mail is specified (which is only the case if there's no mail account present), check if it's valid.. */ if (@isset($this->parent->by_object['mailAccount']) && - $this->goFaxDeliveryMode && 32){ + $this->goFaxDeliveryMode & 32){ if ($this->mail == ""){ $message[]= _("Mail delivery is checked, but no address has been specified."); } elseif (!is_email($this->mail)){ -- 2.30.2