Ticket #306: ReactorAdaptor.cfc.patch.txt

File ReactorAdaptor.cfc.patch.txt, 0.5 kB (added by denny, 18 years ago)

simple patch that might fix problem

Line 
1Index: ModelGlue/unity/orm/ReactorAdapter.cfc
2===================================================================
3--- ModelGlue/unity/orm/ReactorAdapter.cfc      (revision 316)
4+++ ModelGlue/unity/orm/ReactorAdapter.cfc      (working copy)
5@@ -112,7 +112,7 @@
6                <cfset md[fields[i].alias].comment = dict.getValue("#arguments.table#.#fields[i].alias#.comment") />
7       
8                <cfif fields[i].primaryKey>
9-                       <cfset arrayAppend(result.primaryKeys, fields[i].name) />
10+                       <cfset arrayAppend(result.primaryKeys, fields[i].alias) />
11                </cfif>
12                       
13