Skip to content

Commit

Permalink
[#449 state:resolved] Added call to query method before param on line…
Browse files Browse the repository at this point in the history
… 104 to squash deprecation warning.
  • Loading branch information
tima committed Oct 30, 2010
1 parent 80a5dd6 commit c689333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MT/Revisable.pm
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ sub mt_presave_obj {
my ($cb, $app, $obj, $orig) = @_;

return 1 unless $app->isa('MT::App');
return 1 unless $app->param('save_revision');
return 1 unless $app->query->param('save_revision');

$obj->gather_changed_cols($orig, $app);
return 1 unless exists $obj->{changed_revisioned_cols};
Expand Down

0 comments on commit c689333

Please sign in to comment.