aboutsummaryrefslogtreecommitdiff
path: root/actions/widgets/add.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/widgets/add.php')
-rw-r--r--actions/widgets/add.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/widgets/add.php b/actions/widgets/add.php
index 42d884a02..b38e53f0d 100644
--- a/actions/widgets/add.php
+++ b/actions/widgets/add.php
@@ -2,8 +2,8 @@
/**
* Elgg widget add action
*
- * @package Elgg
- * @subpackage Core
+ * @package Elgg.Core
+ * @subpackage Widgets.Management
*/
$guid = get_input('user');
@@ -16,7 +16,7 @@ $result = false;
if (!empty($guid)) {
if ($user = get_entity($guid)) {
if ($user->canEdit()) {
- $result = add_widget($user->getGUID(),$handler,$context,0,$column);
+ $result = add_widget($user->getGUID(), $handler, $context, 0, $column);
}
}
}