Skip to content

Commit

Permalink
fixed: PHP warnings and notices
Browse files Browse the repository at this point in the history
  • Loading branch information
jeabakker committed May 4, 2012
1 parent c12be06 commit e237bb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions views/default/widgets/featured_groups/content.php
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion views/default/widgets/index_discussions/edit.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

$widget = elgg_extract("entity");
$widget = elgg_extract("entity", $vars);

$limit = (int) $widget->num_display;
if($limit < 1){
Expand Down

0 comments on commit e237bb0

Please sign in to comment.