[Tickets #10172] Move a rule always move by one step
bugs at horde.org
bugs at horde.org
Wed Jun 1 18:38:52 UTC 2011
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/10172
------------------------------------------------------------------------------
Ticket | 10172
Created By | olivier at ablinux.com
Summary | Move a rule always move by one step
Queue | Ingo
Version | 2.0.1
Type | Bug
State | Unconfirmed
Priority | 2. Medium
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
olivier at ablinux.com (2011-06-01 18:38) wrote:
In Ingo 2.0.1, when i move a rule by more than one step, using the
rightest input form field corresponding to the rule and indicating the
new number, the rule is always move by one, not by the specified number.
It seems to be a bug in ingo/filters.php, for case rule_up and rule_down...
case 'rule_up':
$filters->ruleUp($vars->rulenumber, $vars->steps || 1);
break;
case 'rule_down':
$filters->ruleDown($vars->rulenumber, $vars->steps || 1);
break;
The expression "$vars->steps || 1" always returns a true boolean
value, not the form indicated step !!
More information about the bugs
mailing list