Skip to content

Commit

Permalink
#768, correction.
Browse files Browse the repository at this point in the history
  • Loading branch information
perdjurner committed Apr 27, 2017
1 parent 9870d47 commit 10c71b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wheels/model/initialization.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ public any function $initModelClass(required string name, required string path)
// We also ignore anything inside parentheses.
local.typeName = Trim(SpanExcluding(local.columns["type_name"][local.i], "("));
if (ListLen(local.typeName, " ") == 2) {
local.type = ListFirst(local.type, " ");
local.details = ListLast(local.type, " ");
local.type = ListFirst(local.typeName, " ");
local.details = ListLast(local.typeName, " ");
} else {
local.type = local.typeName;
local.details = "";
Expand Down

0 comments on commit 10c71b6

Please sign in to comment.