diff --git a/views/default/widgets/featured_groups/content.php b/views/default/widgets/featured_groups/content.php index 62665ca7..ab430701 100644 --- a/views/default/widgets/featured_groups/content.php +++ b/views/default/widgets/featured_groups/content.php @@ -20,6 +20,7 @@ $featured = elgg_list_entities_from_metadata($featured_options); + $random = ""; if($show_random == "yes"){ $dbprefix = elgg_get_config("dbprefix"); $featured_id = add_metastring("featured_group"); diff --git a/views/default/widgets/index_discussions/edit.php b/views/default/widgets/index_discussions/edit.php index ab6e31b1..e3137197 100644 --- a/views/default/widgets/index_discussions/edit.php +++ b/views/default/widgets/index_discussions/edit.php @@ -1,6 +1,6 @@ num_display; if($limit < 1){