From 8d79fd97ea205964e1a1409b3878e831c7617742 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 25 Sep 2008 10:07:15 +0000 Subject: Closes #326: add_widget uses the specified $user_guid as $widget->owner_guid git-svn-id: https://code.elgg.org/elgg/trunk@2129 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/widgets.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engine/lib') diff --git a/engine/lib/widgets.php b/engine/lib/widgets.php index faaa1dfb2..1186a8b55 100644 --- a/engine/lib/widgets.php +++ b/engine/lib/widgets.php @@ -178,7 +178,8 @@ $widget->handler = $handler; $widget->context = $context; $widget->column = $column; - $widget->order = $order; + $widget->order = $order; + $widget->owner_guid = $user_guid; $widget->access_id = 1; if (!$widget->save()) return false; -- cgit v1.2.3