From: Michael M Slusarz Date: Tue, 30 Jun 2009 05:05:02 +0000 (-0600) Subject: Fix undefined error X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=8da04125fafaaef73f435777347f2fa7816f134b;p=horde.git Fix undefined error --- diff --git a/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php b/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php index 3fe7d093b..43c1e070b 100644 --- a/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php +++ b/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php @@ -2294,7 +2294,9 @@ class Horde_Imap_Client_Socket extends Horde_Imap_Client_Base $i = 0; $cnt = count($data); - $fp = $this->_temp['fetchparams']; + $fp = isset($this->_temp['fetchparams']) + ? $this->_temp['fetchparams'] + : array(); if (isset($this->_temp['fetchresp']['seq'][$id])) { $tmp = $this->_temp['fetchresp']['seq'][$id];