From 15901ae3d95261f66ca3ac0b6fb1d0d641d5569d Mon Sep 17 00:00:00 2001 From: icewing Date: Thu, 13 Mar 2008 16:42:36 +0000 Subject: Marcus Povey * Now saves git-svn-id: https://code.elgg.org/elgg/trunk@210 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/entities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine') diff --git a/engine/lib/entities.php b/engine/lib/entities.php index 83d04391f..fd0c81593 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -94,7 +94,7 @@ if (array_key_exists($name, $this->attributes)) { // Check that we're not trying to change the guid! - if ((array_key_exists('guid')) && ($name=='guid')) + if ((array_key_exists('guid', $this->attributes)) && ($name=='guid')) return false; $this->attributes[$name] = $value; -- cgit v1.2.3