[cvs] commit: framework/Horde Horde.php

Michael M Slusarz slusarz at horde.org
Tue May 13 23:10:19 UTC 2008


Quoting Michael Rubinsky <mike at theupstairsroom.com>:

> mrubinsk    2008-05-13 18:30:55 EDT
>
>   Modified files:
>     Horde                Horde.php
>   Log:
>   ob_get_length() could return 0 if ob_start() was called but nothing was
>   output yet...thus causing these script files to get output twice.  3 hours
>   to track this one down...
>
>   Also, check for existence of the 'horde' array before accessing it.
>
>   Revision  Changes    Path
>   1.674     +8 -3      framework/Horde/Horde.php

Don't use array_key_exists() - see docs/CODING_STANDARDS.  You should  
be using isset() instead,

michael

-- 
___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the cvs mailing list