[sork] passwd bug (CVS HEAD)

Mike Cochrane mike@graftonhall.co.nz
Sat Nov 23 01:38:09 2002


In the if statement above that:
    if (!isset($backend_key) && substr($key, 0, 1) != '_') {
        $backend_key = $key;
    }
It sets the backend_key to the first backend. 

I will have have a play with it this afternoon as seen what's up with it.

- Mike :-)

> ----- Message from eric.rostetter@physics.utexas.edu ---------
> However, this is not true (or totally true).  If you don't set any backend
> as prefered, then the $backend_key never gets set.  I think the error
> may be:
> 
> RCS file: /repository/passwd/main.php,v
> retrieving revision 1.30
> diff -r1.30 main.php
> 179c179
> <     if (Passwd::isPreferredBackend($curBackend)) {
> ---
> >     if (Passwd::isPreferredBackend($key)) {
> 
> Can someone more familiar with the new passwd code (Mike) verify if this
> is the correct fix or not (and if not, apply the correct fix).
> 
> --
> Eric Rostetter
> The Department of Physics
> The University of Texas at Austin
> 
> Why get even? Get odd!
> --
> Sork mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: sork-unsubscribe@lists.horde.org
> 
> 
> 
> ----- End message from eric.rostetter@physics.utexas.edu -----






More information about the sork mailing list