[Tickets #13464] Missing $ sign in HTTP Driver

noreply at bugs.horde.org noreply at bugs.horde.org
Fri Aug 22 07:04:19 UTC 2014


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: http://bugs.horde.org/ticket/13464
------------------------------------------------------------------------------
  Ticket           | 13464
  Erstellt Von     | alex.lanz at rolmail.net
  Zusammenfassung  | Missing $ sign in HTTP Driver
  Warteschlange    | Passwd
  Version          | 5.0.1
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 1. Low
  Milestone        |
  Patch            |
  Zuständige       |
------------------------------------------------------------------------------


alex.lanz at rolmail.net (2014-08-22 07:04) hat geschrieben:

In the file passwd/lib/Driver/Http.php there is a missing dollar sign  
almost at the bottom of the file. At the last check the body variable  
should be named "$body".

Acutal Code:

         if (!strpos(body, $this->_params['eval_results']['success'])) {
             throw new Passwd_Exception(_("Your password could not be  
changed."));
         }


Correct Code:

         if (!strpos($body, $this->_params['eval_results']['success'])) {
             throw new Passwd_Exception(_("Your password could not be  
changed."));
         }






More information about the bugs mailing list