From: Michael Orlitzky Date: Wed, 17 Sep 2014 15:56:09 +0000 (-0400) Subject: Fix a SQL query in the AgendavMv plugin. X-Git-Tag: 0.0.1~59 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=edf320a409cc942c632f7a64180887b7764c52c7;p=mailshears.git Fix a SQL query in the AgendavMv plugin. --- 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;'