Skip to content

Commit

Permalink
[#223 state:resolved] Fixed warnings about unitialized values that wa…
Browse files Browse the repository at this point in the history
…s occurring in unit tests

Signed-off-by: Open Melody Software Group <admin@openmelody.org>
  • Loading branch information
byrnereese authored and Open Melody Software Group committed Dec 10, 2009
1 parent 4a2e2bb commit 4c03c57
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,6 @@ Makefile
blib
pm_to_blib
t/db
t/site
t/site
t/mt.cfg
null
1 change: 1 addition & 0 deletions addons/ConfigAssistant.plugin/lib/ConfigAssistant/Init.pm
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ sub uses_config_assistant {
my $blog = MT->instance->blog;
return 0 if !$blog;
my $ts = MT->instance->blog->template_set;
return 0 if !$ts;
my $app = MT::App->instance;
return 1 if $app->registry('template_sets')->{$ts}->{options};
return 0;
Expand Down
2 changes: 1 addition & 1 deletion lib/MT/CMS/Entry.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1424,7 +1424,7 @@ $ao
## look if any assets have been included/removed from this entry
require MT::Asset;
require MT::ObjectAsset;
my $include_asset_ids = $q->param('include_asset_ids');
my $include_asset_ids = $q->param('include_asset_ids') || '';
my @asset_ids = split(',', $include_asset_ids);
my $obj_assets = ();
my @obj_assets = MT::ObjectAsset->load({ object_ds => 'entry', object_id => $obj->id });
Expand Down

0 comments on commit 4c03c57

Please sign in to comment.