Commit 20820f69243a83639ce39db83e3e38f86d8cbe75
1 parent
6dd2ddac
Exists in
master
and in
39 other branches
minor fix - updates #104
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/proxy/models.py
... | ... | @@ -157,8 +157,8 @@ def change_session_attribute_email(sender, instance, **kwargs): |
157 | 157 | cursor = connections['trac'].cursor() |
158 | 158 | |
159 | 159 | cursor.execute(("UPDATE session_attribute SET value=%s " |
160 | - "WHERE name=email AND sid=%s"), | |
160 | + "WHERE name='email' AND sid=%s"), | |
161 | 161 | [instance.email, instance.username]) |
162 | 162 | cursor.execute(("UPDATE session_attribute SET value=%s " |
163 | - "WHERE name=name AND sid=%s"), | |
163 | + "WHERE name='name' AND sid=%s"), | |
164 | 164 | [instance.get_full_name(), instance.username]) | ... | ... |