From: Michael Orlitzky Date: Tue, 19 Mar 2013 15:38:28 +0000 (-0400) Subject: Fix table name in DAViCal plugin. X-Git-Tag: 0.0.1~97 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=d5d01229271c2afa82e90e5bad6f80546b1ae47a;p=mailshears.git Fix table name in DAViCal plugin. --- diff --git a/lib/mailshears/plugins/davical.rb b/lib/mailshears/plugins/davical.rb index 964bcb0..3f4861c 100644 --- a/lib/mailshears/plugins/davical.rb +++ b/lib/mailshears/plugins/davical.rb @@ -97,7 +97,7 @@ class DavicalDb @db_user, @db_pass) - sql_query = "SELECT principal_id FROM users WHERE username = $1;" + sql_query = "SELECT principal_id FROM usr WHERE username = $1;" connection.query(sql_query, [account]) do |result| if result.num_tuples > 0