From 48c19ebecdc2c198542011e99b5e03496867a91c Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Tue, 7 May 2013 15:06:22 +0300 Subject: [PATCH] Unable to change subject Signed-off-by: Sven Strickroth --- pfadmin_autoresponder/pfadmin_autoresponder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pfadmin_autoresponder/pfadmin_autoresponder.php b/pfadmin_autoresponder/pfadmin_autoresponder.php index 367dd48..e05faf3 100644 --- a/pfadmin_autoresponder/pfadmin_autoresponder.php +++ b/pfadmin_autoresponder/pfadmin_autoresponder.php @@ -33,7 +33,7 @@ class pfadmin_autoresponder extends rcube_plugin { public $task = 'settings'; private $sql_select = 'SELECT * FROM vacation WHERE email = %u LIMIT 1;'; - private $sql_update = 'insert into vacation (email, active, subject, body, activefrom ,activeuntil) values (%u, %o, %s, %m, %f, %d) on duplicate key update active = %o, body = %m, activefrom = %f, activeuntil =%d;'; + private $sql_update = 'insert into vacation (email, active, subject, body, activefrom ,activeuntil) values (%u, %o, %s, %m, %f, %d) on duplicate key update active = %o, subject = %s, body = %m, activefrom = %f, activeuntil =%d;'; private $date_format_regexp = '/^\d{4}\/\d{2}\/\d{2}$/';