From 47419a26b638ddac9641421d1d465ff793824b3a Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <machniak@kolabsys.com>
Date: Fri, 18 Dec 2015 17:52:40 +0100
Subject: [PATCH] Make sure $this->_options is an array to fix possible warning
---
Sieve.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Sieve.php b/Sieve.php
index cfdf52a..2ea8113 100644
--- a/Sieve.php
+++ b/Sieve.php
@@ -233,7 +233,7 @@ function __construct($user = null, $pass = null, $host = 'localhost',
$this->_sock = new Net_Socket();
$this->_bypassAuth = $bypassAuth;
$this->_useTLS = $useTLS;
- $this->_options = $options;
+ $this->_options = (array) $options;
$this->setDebug($debug, $handler);
/* Try to include the Auth_SASL package. If the package is not