Re: CVS HEAD problems

Chuck Hagenbuch <[email protected]> Mon, 12 May 2003 11:27:10 -0400
Newsgroups gmane.comp.horde.sam
Message-ID <[email protected]>
Quoting [email protected]:

> I also had to change a few lines down from _options to _defaults as well
> in order to get it to work entirely after your update.
>
> --- sql.php.orig        Mon May 12 11:20:06 2003
> +++ sql.php     Mon May 12 11:15:02 2003
> @@ -165,8 +165,8 @@
>                      $this->_defaults[$pref] =
> array($this->_defaults[$pref]);
>                  }
>                  foreach ($this->_defaults[$pref] as $email_address) {
> -                    if (!in_array($email_address,
> $this->_options[$pref])) {
> -                        array_push($this->_options[$pref],
> $email_address);
> +                    if (!in_array($email_address,
> $this->_defaults[$pref])) {
> +                        array_push($this->_defaults[$pref],
> $email_address);
>                      }
>                  }
>              }

This doesn't look right to me; what happens without this change?

-chuck

--
Charles Hagenbuch, <[email protected]>
The alligators were there, too, in a bathtub inside the house.

-- 
sam mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]