Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix for orm entities

  • Loading branch information...
commit 886bdf7fc6ae7dd95d3a0e04fa92a6b8236d8347 1 parent da4efce
@cfaddict cfaddict authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  system/core/constraint/AbstractConstraint.cfc
View
2  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,".");
Please sign in to comment.
Something went wrong with that request. Please try again.