[Tickets #12994] horde-remove-user-data yes/no prompt always yes

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Feb 26 15:36:43 UTC 2014


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

Ticket URL: http://bugs.horde.org/ticket/12994
------------------------------------------------------------------------------
  Ticket             | 12994
  Created By         | skhorde at smail.inf.fh-bonn-rhein-sieg.de
  Summary            | horde-remove-user-data yes/no prompt always yes
  Queue              | Horde Base
  Version            | 5.1.5
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


skhorde at smail.inf.fh-bonn-rhein-sieg.de (2014-02-26 15:36) wrote:

The prompt has to be written like that with my PHP version (note the !  
went to !=):

if ($cli->prompt($cli->red('Are you sure you want to remove user  
data?'), array('y' => 'Yes', 'n' => 'No'), 'n') != 'y') {

Otherwise the if() is always false and the data is removed.





More information about the bugs mailing list