[Tickets #11972] Re: importing ldif files from Thunderbird fails

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Jan 23 06:02:53 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/11972
------------------------------------------------------------------------------
  Ticket             | 11972
  Updated By         | jhaar-horde at whanau.org
  Summary            | importing ldif files from Thunderbird fails
  Queue              | Turba
  Version            | Git master
  Type               | Bug
  State              | Resolved
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             | Jan Schneider, Michael Slusarz
------------------------------------------------------------------------------


jhaar-horde at whanau.org (2013-01-23 06:02) wrote:

> Not according to your test script.  You said that this:
> ...
> output: '::'.  If sys_getloadavg() was true, it would have output:  
> ':1:'.  Thus sys_getloadavg() must be returning false (or null).

your code says

if ($var = sys_getloadavf()) {
   ...
}

$var = sys_getloadavg is true irrespective of whether or not Apache is  
running in a jail. My code

$var= sys_getloadavf();
if (is_array($var)){...

is better because you definitely want to ignore the data if it is NOT  
an array.

All I know if that when I used your patch, it didn't work. Replacing  
it with mine fixed it

Jason





More information about the bugs mailing list