From 084f6e85fbeffb6d8a06a6df919d2ed4772094c3 Mon Sep 17 00:00:00 2001
From: nicorac <nicorac@yahoo.com>
Date: Wed, 19 Mar 2014 16:17:29 +0100
Subject: [PATCH] Fixed undefined variable

Signed-off-by: nicorac <nicorac@yahoo.com>
---
 includes/entity.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/includes/entity.inc b/includes/entity.inc
index 2fe9997..4efd071 100644
--- a/includes/entity.inc
+++ b/includes/entity.inc
@@ -56,7 +56,7 @@ class Entity {
     $this->entityInfo = entity_get_info($this->entityType);
     $this->idKey = $this->entityInfo['entity keys']['id'];
     $this->nameKey = isset($this->entityInfo['entity keys']['name']) ? $this->entityInfo['entity keys']['name'] : $this->idKey;
-    $this->statusKey = empty($info['entity keys']['status']) ? 'status' : $info['entity keys']['status'];
+    $this->statusKey = empty($this->entityInfo['entity keys']['status']) ? 'status' : $this->entityInfo['entity keys']['status'];
   }
 
   /**
-- 
1.7.10.msysgit.1

