[cvs] commit: ingo/config prefs.php.dist ingo/lib/Script sieve.php

Max Kalika max at horde.org
Mon Jul 21 12:57:54 PDT 2003


max         2003/07/21 12:57:53 PDT

  Modified files:
    config               prefs.php.dist 
    lib/Script           sieve.php 
  Log:
  add a sensible empty default for the vacation pref -- fixes syntax
  errors when sieve goes to retrieve an initial set of prefs when a
  user clicks on "Script".
  
  change !empty() to count() in sieve vacation address check because
  the getAddresses always seems to return array so this will never be
  !empty.
  
  PLEASE CHECK THIS:  drop the preg_split in two places in the sieve
  driver's vacation handling because we already have an array of addresses,
  and this therefore, causes an Array to string conversion.
  
  Revision  Changes    Path
  1.27      +2 -2      ingo/config/prefs.php.dist
  1.46      +5 -6      ingo/lib/Script/sieve.php

  Chora Links:
  http://cvs.horde.org/diff.php/ingo/config/prefs.php.dist?r1=1.26&r2=1.27&ty=u
  http://cvs.horde.org/diff.php/ingo/lib/Script/sieve.php?r1=1.45&r2=1.46&ty=u


More information about the cvs mailing list