aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-01 15:01:50 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-01 15:01:50 +0000
commit65c9c360797e4788adba8455834897acedfb6b8e (patch)
tree74186b67aa639ed13fd4100f0695230940d121a7 /engine/lib/entities.php
parentb2c2318dc8dfb0a02c74fb4d35ed71fbf3dc31ab (diff)
downloadelgg-65c9c360797e4788adba8455834897acedfb6b8e.tar.gz
elgg-65c9c360797e4788adba8455834897acedfb6b8e.tar.bz2
Registration, login, logout work. Victory!
git-svn-id: https://code.elgg.org/elgg/trunk@313 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/entities.php')
-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 66f421a6d..2270b1909 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -40,7 +40,7 @@
$this->attributes['guid'] = "";
$this->attributes['type'] = "";
$this->attributes['subtype'] = "";
- $this->attributes['owner_guid'] = 0;
+ $this->attributes['owner_guid'] = $_SESSION['guid'];
$this->attributes['access_id'] = 0;
$this->attributes['time_created'] = "";
$this->attributes['time_updated'] = "";