From: hickert Date: Thu, 30 Nov 2006 07:06:34 +0000 (+0000) Subject: Use binary operator instead of boolean X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bf9fd071bad641f7fce6d3e3ed61f866841ec183;p=gosa.git Use binary operator instead of boolean git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5260 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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)){