[PATCH] rcube_sieve::as_text does not generate correct requires for multiple actions
|Reported by:||FunkyM||Owned by:|
|Priority:||1 - Highest||Milestone:||0.4-beta|
The "rcube_sieve::as_text()" method does not generate the correct sieve "require" field on chained actions.
Example would be a simple rule with first a vacation action followed by a fileinto action.
The current code logic only sets the required extension to the first action found, any following are not considered.
This causes errors on saving from sieve since such a script is invalid.
Patch to fix this is attached.