diff --git a/modoboa/autoreply/models.py b/modoboa/autoreply/models.py index 10070bc7f..8a77cd753 100644 --- a/modoboa/autoreply/models.py +++ b/modoboa/autoreply/models.py @@ -56,7 +56,7 @@ class ARmessage(models.Model): ) content = self.content % context name = "autoreply" - action = [("vacation", ":subject", self.subject, ":days", str(days), content)] + action = [("vacation", ":subject", self.subject, ":days", days, content)] if not fset.getfilter(name): fset.addfilter(name, condition, action) else: