Skip to content

Commit

Permalink
fix for orm entities
Browse files Browse the repository at this point in the history
  • Loading branch information
danvega committed May 4, 2012
1 parent da4efce commit 886bdf7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions system/core/constraint/AbstractConstraint.cfc
Expand Up @@ -32,6 +32,8 @@ component accessors="true" {
if( structKeyExists(meta,"persistent") && meta.persistent ){
if(structKeyExists(meta,"entity")){
entity = meta.entity;
} else if(structKeyExists(meta,"entityName")) {
entity = meta.entityName;
} else {
if(structKeyExists(meta,"fullname")){
entity = listLast(meta.fullname,".");
Expand Down

0 comments on commit 886bdf7

Please sign in to comment.