Browse Source

[#11] Correction pour l'argument du From

Roland Haroutiounian 9 years ago
parent
commit
ef00ce2250
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      EditorialModel/fields.py

+ 1
- 1
EditorialModel/fields.py View File

@@ -108,7 +108,7 @@ class EmField(EmComponent):
108 108
         columns=('table')
109 109
         query_builder = SqlQueryBuilder(sql_wrapper,'uids')
110 110
         query_builder.Select(columns)
111
-        query_builder.From('uids')
111
+        query_builder.From(uidtable)
112 112
         query_builder.Where('uids.uid=%s' % self.uid)
113 113
 
114 114
         records = query.Execute().fetchall()

Loading…
Cancel
Save