aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-12-31 15:23:32 -0500
committercash <cash.costello@gmail.com>2011-12-31 15:23:32 -0500
commit8bb4bbe9fb32e0b0b0c8cf687d19f58a0e39f89a (patch)
tree622301d6ef185c93383d3129c4cf8508dca0ebbf
parenta34a741acf7a6c9c468009f76d33ed4ee1fcfb65 (diff)
downloadelgg-8bb4bbe9fb32e0b0b0c8cf687d19f58a0e39f89a.tar.gz
elgg-8bb4bbe9fb32e0b0b0c8cf687d19f58a0e39f89a.tar.bz2
Fixes #4259 using container guid for widgets when moving
-rw-r--r--engine/classes/ElggWidget.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/classes/ElggWidget.php b/engine/classes/ElggWidget.php
index df807e3f7..7a5a37ac8 100644
--- a/engine/classes/ElggWidget.php
+++ b/engine/classes/ElggWidget.php
@@ -115,6 +115,7 @@ class ElggWidget extends ElggObject {
$options = array(
'type' => 'object',
'subtype' => 'widget',
+ 'container_guid' => $this->container_guid,
'private_setting_name_value_pairs' => array(
array('name' => 'context', 'value' => $this->getContext()),
array('name' => 'column', 'value' => $column)