From edf320a409cc942c632f7a64180887b7764c52c7 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 17 Sep 2014 11:56:09 -0400 Subject: [PATCH] Fix a SQL query in the AgendavMv plugin. --- lib/mv/plugins/agendav.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mv/plugins/agendav.rb b/lib/mv/plugins/agendav.rb index 112fa2a..d5858c0 100644 --- a/lib/mv/plugins/agendav.rb +++ b/lib/mv/plugins/agendav.rb @@ -14,7 +14,7 @@ class AgendavMv end def mv_user(from, to) - sql_queries = ['UPDATE prefs SET username = $1 WHERE username $2;'] + sql_queries = ['UPDATE prefs SET username = $1 WHERE username = $2;'] sql_queries << 'UPDATE shared SET user_from = $1 WHERE user_from = $2;' sql_queries << 'UPDATE shared SET user_which = $1 WHERE user_which = $2;' -- 2.44.2