aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/widgets.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-24 10:49:26 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-24 10:49:26 +0000
commit792112a10ead7451933d2f9813ae050034b2b5a6 (patch)
tree7291f659804cc6729a869146144710242ec56c36 /engine/lib/widgets.php
parente52636ba1bf65440137309e06090dd880ab4a185 (diff)
downloadelgg-792112a10ead7451933d2f9813ae050034b2b5a6.tar.gz
elgg-792112a10ead7451933d2f9813ae050034b2b5a6.tar.bz2
Added fixes to create_entity and add_widgets to correctly handle containers.
git-svn-id: https://code.elgg.org/elgg/trunk@2912 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/widgets.php')
-rw-r--r--engine/lib/widgets.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/lib/widgets.php b/engine/lib/widgets.php
index a455f8068..02ef721e4 100644
--- a/engine/lib/widgets.php
+++ b/engine/lib/widgets.php
@@ -232,6 +232,7 @@
$widget = new ElggWidget;
$widget->owner_guid = $user_guid;
+ $widget->container_guid = $user_guid;
$widget->access_id = get_default_access();
// private widgets don't makes sense, correct?
if ($widget->access_id == ACCESS_PRIVATE)