]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #4259 using container guid for widgets when moving
authorcash <cash.costello@gmail.com>
Sat, 31 Dec 2011 20:23:32 +0000 (15:23 -0500)
committercash <cash.costello@gmail.com>
Sat, 31 Dec 2011 20:23:32 +0000 (15:23 -0500)
engine/classes/ElggWidget.php

index df807e3f785f015095fa660a19a6023161a3a7e3..7a5a37ac845cf58e1d498f97a6147289b29626c0 100644 (file)
@@ -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)