Skip to content

Commit

Permalink
[#206 state:resolved] $app->permissions was empty. It worked when cha…
Browse files Browse the repository at this point in the history
…nged to $app->user->permissions
  • Loading branch information
MikeThomsen authored and byrnereese committed Jun 28, 2010
1 parent 38c4426 commit 75859b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MT/CMS/Blog.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1826,7 +1826,7 @@ sub save_filter {
$name =~ s/(^\s+|\s+$)//g;
$q->param( 'name', $name );
}
my $perms = $app->permissions;
my $perms = $app->user->permissions;

return $eh->error( MT->translate("You did not specify a blog name.") )
if ( !( $perms->can_edit_config )
Expand Down

0 comments on commit 75859b0

Please sign in to comment.