aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-09 10:38:29 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-09 10:38:29 +0000
commit9d2a2514ceb62a72b32ed3a17703c8cff370cec1 (patch)
tree3d1b61f53d439683775cba2fa735530ac0325dd4 /engine/lib
parent6420fc4aad904c1625f6e323ea613044dc966a84 (diff)
downloadelgg-9d2a2514ceb62a72b32ed3a17703c8cff370cec1.tar.gz
elgg-9d2a2514ceb62a72b32ed3a17703c8cff370cec1.tar.bz2
Fixed issue on save
git-svn-id: https://code.elgg.org/elgg/trunk@825 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-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 f08c58383..703c5c891 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -386,7 +386,7 @@
*/
public function save()
{
- if (($this->get('guid') != "") || ($this->get('guid') > 0))
+ if (!empty($this->guid))
{
return update_entity(
$this->get('guid'),