aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul <tacid@tacid.kiev.ua>2013-01-29 18:58:56 +0200
committerPaul <tacid@tacid.kiev.ua>2013-01-29 18:58:56 +0200
commitd6d192cfe852ef4d2014499da3146b60569fc68b (patch)
treefde0b41551694b2843efa655c05974449ddddef6
parentf4171ae7ac428c702a1c23f037fc022cc687bbea (diff)
downloadelgg-d6d192cfe852ef4d2014499da3146b60569fc68b.tar.gz
elgg-d6d192cfe852ef4d2014499da3146b60569fc68b.tar.bz2
Deprecated fix:
context parameters for elgg_register_widget_type() should be passed as an array()
-rw-r--r--start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/start.php b/start.php
index 5590544b8..27b6f9802 100644
--- a/start.php
+++ b/start.php
@@ -75,7 +75,7 @@ function event_calendar_init() {
}
//add a widget
- elgg_register_widget_type('event_calendar',elgg_echo("event_calendar:widget_title"),elgg_echo('event_calendar:widget:description'), 'all,groups');
+ elgg_register_widget_type('event_calendar',elgg_echo("event_calendar:widget_title"),elgg_echo('event_calendar:widget:description'),array('all','dashboard'));
// add the event calendar group tool option
$event_calendar_group_default = elgg_get_plugin_setting('group_default', 'event_calendar');