[dev] [commits] Horde branch master updated. 4dbc410dcbf1ec823ff6e1b1199f6233f40d30d9

Gunnar Wrobel wrobel at horde.org
Tue Feb 22 20:46:41 UTC 2011


Zitat von Michael M Slusarz <slusarz at horde.org>:


> commit d7314ceb1327068f2c0791925f0b7766d5e000b9
> Author: Michael M Slusarz <slusarz at curecanti.org>
> Date:   Sun Feb 20 23:32:22 2011 -0700
>
>     Don't output IMAP literal debug data by default
>
>  framework/Imap_Client/lib/Horde/Imap/Client/Socket.php |   41  
> +++++++++++++--
>  1 files changed, 35 insertions(+), 6 deletions(-)
>
> http://git.horde.org/horde-git/-/commit/d7314ceb1327068f2c0791925f0b7766d5e000b9

     public function __construct(array $params = array())
     {
         $params = array_merge(array(
             'debug_literal' => false
         ), $params);

         parent::__construct($params);
     }

This does not have the desired effect as you run the $params array  
through array_filter() in the parent class and 'debug_literal' gets  
removed again. Consequently I'm getting

Notice: Undefined index: debug_literal in  
/home/wrobel/environment/horde-glue/horde/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php on line  
3725

when not setting the option.

Cheers,

Gunnar

-- 
Core Developer
The Horde Project

e: wrobel at horde.org
t: +49 700 6245 0000
w: http://www.horde.org

pgp: 9703 43BE
tweets: http://twitter.com/pardus_de
blog: http://log.pardus.de




More information about the dev mailing list