Permalink
Browse files

fix for orm entities

  • Loading branch information...
1 parent da4efce commit 886bdf7fc6ae7dd95d3a0e04fa92a6b8236d8347 @cfaddict committed May 4, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 system/core/constraint/AbstractConstraint.cfc
@@ -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,".");

0 comments on commit 886bdf7

Please sign in to comment.