aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-13 16:42:36 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-13 16:42:36 +0000
commit15901ae3d95261f66ca3ac0b6fb1d0d641d5569d (patch)
treed1565cde8e4bf3d690beca56e6fd747765410a9b
parent0d3c18f6aabb988527d59732882c5f407ab7d04f (diff)
downloadelgg-15901ae3d95261f66ca3ac0b6fb1d0d641d5569d.tar.gz
elgg-15901ae3d95261f66ca3ac0b6fb1d0d641d5569d.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Now saves git-svn-id: https://code.elgg.org/elgg/trunk@210 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/entities.php2
1 files changed, 1 insertions, 1 deletions
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;